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
|
|
|