summaryrefslogtreecommitdiff
path: root/src/tools/clippy/tests/ui-toml/semicolon_block/semicolon_outside_block.stderr
blob: 6dd3577dd09f06812829e50f1a07cba32b4a356a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
error: consider moving the `;` outside the block for consistent formatting
  --> $DIR/semicolon_outside_block.rs:42:5
   |
LL |     { unit_fn_block(); }
   |     ^^^^^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::semicolon-outside-block` implied by `-D warnings`
help: put the `;` here
   |
LL -     { unit_fn_block(); }
LL +     { unit_fn_block() };
   |

error: consider moving the `;` outside the block for consistent formatting
  --> $DIR/semicolon_outside_block.rs:43:5
   |
LL |     unsafe { unit_fn_block(); }
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: put the `;` here
   |
LL -     unsafe { unit_fn_block(); }
LL +     unsafe { unit_fn_block() };
   |

error: consider moving the `;` outside the block for consistent formatting
  --> $DIR/semicolon_outside_block.rs:62:5
   |
LL |     { m!(()); }
   |     ^^^^^^^^^^^
   |
help: put the `;` here
   |
LL -     { m!(()); }
LL +     { m!(()) };
   |

error: aborting due to 3 previous errors