fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: consider moving the `;` inside the block for consistent formatting 2 --> $DIR/semicolon_inside_block.rs:38:5 3 | 4LL | { unit_fn_block() }; 5 | ^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: `-D clippy::semicolon-inside-block` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::semicolon_inside_block)]` 9help: put the `;` here 10 | 11LL - { unit_fn_block() }; 12LL + { unit_fn_block(); } 13 | 14 15error: consider moving the `;` inside the block for consistent formatting 16 --> $DIR/semicolon_inside_block.rs:39:5 17 | 18LL | unsafe { unit_fn_block() }; 19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 | 21help: put the `;` here 22 | 23LL - unsafe { unit_fn_block() }; 24LL + unsafe { unit_fn_block(); } 25 | 26 27error: consider moving the `;` inside the block for consistent formatting 28 --> $DIR/semicolon_inside_block.rs:47:5 29 | 30LL | / { 31LL | | unit_fn_block(); 32LL | | unit_fn_block() 33LL | | }; 34 | |______^ 35 | 36help: put the `;` here 37 | 38LL ~ unit_fn_block(); 39LL ~ } 40 | 41 42error: consider moving the `;` inside the block for consistent formatting 43 --> $DIR/semicolon_inside_block.rs:60:5 44 | 45LL | { m!(()) }; 46 | ^^^^^^^^^^^ 47 | 48help: put the `;` here 49 | 50LL - { m!(()) }; 51LL + { m!(()); } 52 | 53 54error: aborting due to 4 previous errors 55