2023-04-17 04:30:00 +00:00
|
|
|
error: consider moving the `;` outside the block for consistent formatting
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/semicolon_outside_block.rs:41:5
|
2023-04-17 04:30:00 +00:00
|
|
|
|
|
|
|
|
LL | { unit_fn_block(); }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-20 02:46:13 +00:00
|
|
|
= note: `-D clippy::semicolon-outside-block` implied by `-D warnings`
|
2023-04-17 04:30:00 +00:00
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - { unit_fn_block(); }
|
|
|
|
LL + { unit_fn_block() };
|
|
|
|
|
|
|
|
|
|
|
|
|
error: consider moving the `;` outside the block for consistent formatting
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/semicolon_outside_block.rs:42:5
|
2023-04-17 04:30:00 +00:00
|
|
|
|
|
|
|
|
LL | unsafe { unit_fn_block(); }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - unsafe { unit_fn_block(); }
|
|
|
|
LL + unsafe { unit_fn_block() };
|
|
|
|
|
|
|
|
|
|
|
|
|
error: consider moving the `;` outside the block for consistent formatting
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/semicolon_outside_block.rs:61:5
|
2023-04-17 04:30:00 +00:00
|
|
|
|
|
|
|
|
LL | { m!(()); }
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - { m!(()); }
|
|
|
|
LL + { m!(()) };
|
|
|
|
|
|
|
|
|
|
2023-04-20 02:46:13 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2023-04-17 04:30:00 +00:00
|
|
|
|