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