rust/src/test/ui/parser/issue-6610.rs

3 lines
76 B
Rust

trait Foo { fn a() } //~ ERROR expected `;` or `{`, found `}`
fn main() {}