rust/tests/ui/parser/mismatched-braces/missing-close-brace-in-stru...

14 lines
179 B
Rust

pub(crate) struct Bar<T> {
foo: T,
trait T {
fn foo(&self);
}
impl T for Bar<usize> {
fn foo(&self) {}
}
fn main() {} //~ ERROR this file contains an unclosed delimiter