mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +00:00
18 lines
416 B
Text
18 lines
416 B
Text
error: consider moving the `;` inside the block for consistent formatting
|
|
--> $DIR/semicolon_inside_block.rs:48:5
|
|
|
|
|
LL | / {
|
|
LL | | unit_fn_block();
|
|
LL | | unit_fn_block()
|
|
LL | | };
|
|
| |______^
|
|
|
|
|
= note: `-D clippy::semicolon-inside-block` implied by `-D warnings`
|
|
help: put the `;` here
|
|
|
|
|
LL ~ unit_fn_block();
|
|
LL ~ }
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|