2022-11-10 12:19:15 +00:00
|
|
|
error: consider moving the `;` inside the block for consistent formatting
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/semicolon_inside_block.rs:38:5
|
2022-11-10 12:19:15 +00:00
|
|
|
|
|
|
|
|
LL | { unit_fn_block() };
|
2022-11-15 18:22:00 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2022-11-10 12:19:15 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::semicolon-inside-block` implied by `-D warnings`
|
2022-11-15 18:22:00 +00:00
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - { unit_fn_block() };
|
|
|
|
LL + { unit_fn_block(); }
|
|
|
|
|
|
2022-11-10 12:19:15 +00:00
|
|
|
|
|
|
|
error: consider moving the `;` inside the block for consistent formatting
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/semicolon_inside_block.rs:39:5
|
2022-11-10 12:19:15 +00:00
|
|
|
|
|
|
|
|
LL | unsafe { unit_fn_block() };
|
2022-11-15 18:22:00 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - unsafe { unit_fn_block() };
|
|
|
|
LL + unsafe { unit_fn_block(); }
|
|
|
|
|
|
2022-11-10 12:19:15 +00:00
|
|
|
|
|
|
|
error: consider moving the `;` inside the block for consistent formatting
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/semicolon_inside_block.rs:47:5
|
2022-11-10 12:19:15 +00:00
|
|
|
|
|
|
|
|
LL | / {
|
|
|
|
LL | | unit_fn_block();
|
|
|
|
LL | | unit_fn_block()
|
|
|
|
LL | | };
|
|
|
|
| |______^
|
|
|
|
|
|
|
|
|
help: put the `;` here
|
|
|
|
|
|
2022-11-15 18:22:00 +00:00
|
|
|
LL ~ unit_fn_block();
|
|
|
|
LL ~ }
|
2022-11-10 12:19:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
error: consider moving the `;` inside the block for consistent formatting
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/semicolon_inside_block.rs:60:5
|
2022-11-10 12:19:15 +00:00
|
|
|
|
|
|
|
|
LL | { m!(()) };
|
2022-11-15 18:22:00 +00:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: put the `;` here
|
|
|
|
|
|
2022-11-16 13:30:53 +00:00
|
|
|
LL - { m!(()) };
|
|
|
|
LL + { m!(()); }
|
2022-11-15 18:22:00 +00:00
|
|
|
|
|
2022-11-10 12:19:15 +00:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|