mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 13:13:40 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
401 B
Plaintext
16 lines
401 B
Plaintext
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() {};
|
|
| ^
|
|
| |
|
|
| non-item starts here
|
|
| help: consider removing this semicolon
|
|
LL | }
|
|
| - item list ends here
|
|
|
|
error: aborting due to 1 previous error
|
|
|