summaryrefslogtreecommitdiff
path: root/src/tools/clippy/tests/ui-toml/semicolon_block/both.stderr
blob: 2f58842eab01b1933d10f8a0530058c4e3bfba56 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
error: consider moving the `;` outside the block for consistent formatting
  --> $DIR/both.rs:43: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/both.rs:44:5
   |
LL |     unsafe { unit_fn_block(); }
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
help: put the `;` here
   |
LL -     unsafe { unit_fn_block(); }
LL +     unsafe { unit_fn_block() };
   |

error: consider moving the `;` inside the block for consistent formatting
  --> $DIR/both.rs:49:5
   |
LL | /     {
LL | |         unit_fn_block();
LL | |         unit_fn_block()
LL | |     };
   | |______^
   |
   = note: `-D clippy::semicolon-inside-block` implied by `-D warnings`
help: put the `;` here
   |
LL ~         unit_fn_block();
LL ~     }
   |

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

error: aborting due to 4 previous errors