mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 03:53:20 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
19 lines
502 B
Text
19 lines
502 B
Text
error: consider moving the `;` inside the block for consistent formatting
|
|
--> $DIR/semicolon_inside_block.rs:47:5
|
|
|
|
|
LL | / {
|
|
LL | | unit_fn_block();
|
|
LL | | unit_fn_block()
|
|
LL | | };
|
|
| |______^
|
|
|
|
|
= note: `-D clippy::semicolon-inside-block` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::semicolon_inside_block)]`
|
|
help: put the `;` here
|
|
|
|
|
LL ~ unit_fn_block();
|
|
LL ~ }
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|