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

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