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