mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
87fa2d90f5
Lint redundant_semicolon was added to rustc
16 lines
295 B
Text
16 lines
295 B
Text
error: statement with no effect
|
|
--> $DIR/blocks.rs:8:9
|
|
|
|
|
LL | ;;;;
|
|
| ^^^^
|
|
|
|
|
= note: `-D clippy::no-effect` implied by `-D warnings`
|
|
|
|
error: statement with no effect
|
|
--> $DIR/blocks.rs:15:5
|
|
|
|
|
LL | -x;
|
|
| ^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|