1error: expected one of `->`, `;`, `where`, or `{`, found `}`
2 --> $DIR/issue-6610.rs:1:20
3 |
4LL | trait Foo { fn a() }
5 | - ^ expected one of `->`, `;`, `where`, or `{`
6 | |
7 | while parsing this `fn`
8
9error: aborting due to previous error
10
11