mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
15 lines
401 B
Text
15 lines
401 B
Text
error: non-item in item list
|
|
--> $DIR/suggest-removing-semicolon-after-impl-trait-items.rs:5:16
|
|
|
|
|
LL | trait Foo {
|
|
| - item list starts here
|
|
LL | fn bar() {};
|
|
| ^
|
|
| |
|
|
| non-item starts here
|
|
| help: consider removing this semicolon
|
|
LL | }
|
|
| - item list ends here
|
|
|
|
error: aborting due to 1 previous error
|
|
|