mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
21 lines
500 B
Plaintext
21 lines
500 B
Plaintext
error: unnecessary trailing semicolon
|
|
--> $DIR/item-stmt-semi.rs:4:18
|
|
|
|
|
LL | fn inner() {};
|
|
| ^ help: remove this semicolon
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/item-stmt-semi.rs:1:9
|
|
|
|
|
LL | #![deny(redundant_semicolons)]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unnecessary trailing semicolon
|
|
--> $DIR/item-stmt-semi.rs:5:18
|
|
|
|
|
LL | struct Bar {};
|
|
| ^ help: remove this semicolon
|
|
|
|
error: aborting due to 2 previous errors
|
|
|