2022-12-17 07:12:54 -06:00
|
|
|
error: consider moving the `;` inside the block for consistent formatting
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/semicolon_inside_block.rs:38:5
|
2022-12-17 07:12:54 -06:00
|
|
|
|
|
|
|
|
LL | { unit_fn_block() };
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::semicolon-inside-block` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::semicolon_inside_block)]`
|
2022-12-17 07:12:54 -06:00
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - { unit_fn_block() };
|
|
|
|
LL + { unit_fn_block(); }
|
|
|
|
|
|
|
|
|
|
|
|
|
error: consider moving the `;` inside the block for consistent formatting
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/semicolon_inside_block.rs:39:5
|
2022-12-17 07:12:54 -06:00
|
|
|
|
|
|
|
|
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
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/semicolon_inside_block.rs:47:5
|
2022-12-17 07:12:54 -06:00
|
|
|
|
|
|
|
|
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
|
2023-08-24 14:32:12 -05:00
|
|
|
--> $DIR/semicolon_inside_block.rs:60:5
|
2022-12-17 07:12:54 -06:00
|
|
|
|
|
|
|
|
LL | { m!(()) };
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - { m!(()) };
|
|
|
|
LL + { m!(()); }
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|