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