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

3 lines
99 B
Rust

trait Foo { fn a() } //~ ERROR expected one of `->`, `;`, `where`, or `{`, found `}`
fn main() {}