2023-05-05 10:45:49 -05:00
|
|
|
error: consider moving the `;` inside the block for consistent formatting
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui-toml/semicolon_block/semicolon_inside_block.rs:47:5
|
2023-05-05 10:45:49 -05:00
|
|
|
|
|
|
|
|
LL | / {
|
|
|
|
LL | | unit_fn_block();
|
|
|
|
LL | | unit_fn_block()
|
|
|
|
LL | | };
|
|
|
|
| |______^
|
|
|
|
|
|
|
|
|
= 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)]`
|
2023-05-05 10:45:49 -05:00
|
|
|
help: put the `;` here
|
|
|
|
|
|
|
|
|
LL ~ unit_fn_block();
|
|
|
|
LL ~ }
|
|
|
|
|
|
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-05-05 10:45:49 -05:00
|
|
|
|