2023-04-16 23:30:00 -05:00
|
|
|
error: consider moving the `;` outside the block for consistent formatting
|
2023-04-19 21:46:13 -05:00
|
|
|
--> $DIR/both.rs:43:5
|
2023-04-16 23:30:00 -05:00
|
|
|
|
|
|
|
|
LL | { unit_fn_block(); }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-04-19 21:46:13 -05:00
|
|
|
= note: `-D clippy::semicolon-outside-block` implied by `-D warnings`
|
2023-04-16 23:30:00 -05:00
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - { unit_fn_block(); }
|
|
|
|
LL + { unit_fn_block() };
|
|
|
|
|
|
|
|
|
|
|
|
|
error: consider moving the `;` outside the block for consistent formatting
|
2023-04-19 21:46:13 -05:00
|
|
|
--> $DIR/both.rs:44:5
|
2023-04-16 23:30:00 -05: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-04-19 21:46:13 -05:00
|
|
|
--> $DIR/both.rs:49:5
|
2023-04-16 23:30:00 -05:00
|
|
|
|
|
|
|
|
LL | / {
|
|
|
|
LL | | unit_fn_block();
|
|
|
|
LL | | unit_fn_block()
|
|
|
|
LL | | };
|
2023-04-19 21:46:13 -05:00
|
|
|
| |______^
|
2023-04-16 23:30:00 -05:00
|
|
|
|
|
2023-04-19 21:46:13 -05:00
|
|
|
= note: `-D clippy::semicolon-inside-block` implied by `-D warnings`
|
2023-04-16 23:30:00 -05:00
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL ~ unit_fn_block();
|
|
|
|
LL ~ }
|
|
|
|
|
|
|
|
|
|
|
|
|
error: consider moving the `;` outside the block for consistent formatting
|
2023-04-19 21:46:13 -05:00
|
|
|
--> $DIR/both.rs:63:5
|
2023-04-16 23:30:00 -05:00
|
|
|
|
|
|
|
|
LL | { m!(()); }
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - { m!(()); }
|
|
|
|
LL + { m!(()) };
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|