blob: 2046dd1c36be76cb3692b638ab63bef1da06c235 [file] [log] [blame]
error: consider moving the `;` inside the block for consistent formatting
--> tests/ui/semicolon_inside_block.rs:39:5
|
LL | { unit_fn_block() };
| ^^^^^^^^^^^^^^^^^^^^
|
= 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 + { unit_fn_block(); }
|
error: consider moving the `;` inside the block for consistent formatting
--> tests/ui/semicolon_inside_block.rs:41:5
|
LL | unsafe { unit_fn_block() };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: put the `;` here
|
LL - unsafe { unit_fn_block() };
LL + unsafe { unit_fn_block(); }
|
error: consider moving the `;` inside the block for consistent formatting
--> tests/ui/semicolon_inside_block.rs:50:5
|
LL | / {
LL | |
LL | | unit_fn_block();
LL | | unit_fn_block()
LL | | };
| |______^
|
help: put the `;` here
|
LL ~ unit_fn_block();
LL ~ }
|
error: consider moving the `;` inside the block for consistent formatting
--> tests/ui/semicolon_inside_block.rs:64:5
|
LL | { m!(()) };
| ^^^^^^^^^^^
|
help: put the `;` here
|
LL - { m!(()) };
LL + { m!(()); }
|
error: aborting due to 4 previous errors