2023-05-05 15:45:49 +00:00
|
|
|
error: consider moving the `;` outside the block for consistent formatting
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui-toml/semicolon_block/both.rs:42:5
|
2023-05-05 15:45:49 +00:00
|
|
|
|
|
|
|
|
LL | { unit_fn_block(); }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::semicolon-outside-block` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::semicolon_outside_block)]`
|
2023-05-05 15:45:49 +00:00
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - { unit_fn_block(); }
|
|
|
|
LL + { unit_fn_block() };
|
|
|
|
|
|
|
|
|
|
|
|
|
error: consider moving the `;` outside the block for consistent formatting
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui-toml/semicolon_block/both.rs:43:5
|
2023-05-05 15:45:49 +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 `;` inside the block for consistent formatting
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui-toml/semicolon_block/both.rs:48:5
|
2023-05-05 15:45:49 +00:00
|
|
|
|
|
|
|
|
LL | / {
|
|
|
|
LL | | unit_fn_block();
|
|
|
|
LL | | unit_fn_block()
|
|
|
|
LL | | };
|
|
|
|
| |______^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::semicolon-inside-block` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::semicolon_inside_block)]`
|
2023-05-05 15:45:49 +00:00
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL ~ unit_fn_block();
|
|
|
|
LL ~ }
|
|
|
|
|
|
|
|
|
|
|
|
|
error: consider moving the `;` outside the block for consistent formatting
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui-toml/semicolon_block/both.rs:62:5
|
2023-05-05 15:45:49 +00:00
|
|
|
|
|
|
|
|
LL | { m!(()); }
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL - { m!(()); }
|
|
|
|
LL + { m!(()) };
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|