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

12 lines
168 B
Rust

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