2022-08-12 04:11:01 -05:00
|
|
|
error: non-item in item list
|
|
|
|
--> $DIR/suggest-removing-semicolon-after-impl-trait-items.rs:4:16
|
|
|
|
|
|
|
|
|
LL | trait Foo {
|
|
|
|
| - item list starts here
|
|
|
|
LL | fn bar() {};
|
2022-08-13 08:10:54 -05:00
|
|
|
| ^
|
|
|
|
| |
|
|
|
|
| non-item starts here
|
|
|
|
| help: consider removing this semicolon
|
2022-08-12 04:11:01 -05:00
|
|
|
LL | }
|
|
|
|
| - item list ends here
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|