rust/tests/ui/parser/issues/issue-6610.rs

4 lines
99 B
Rust

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