]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/redundant-semicolon/item-stmt-semi.stderr
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / lint / redundant-semicolon / item-stmt-semi.stderr
1 error: unnecessary trailing semicolon
2   --> $DIR/item-stmt-semi.rs:4:18
3    |
4 LL |     fn inner() {};
5    |                  ^ help: remove this semicolon
6    |
7 note: the lint level is defined here
8   --> $DIR/item-stmt-semi.rs:1:9
9    |
10 LL | #![deny(redundant_semicolons)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: unnecessary trailing semicolon
14   --> $DIR/item-stmt-semi.rs:5:18
15    |
16 LL |     struct Bar {};
17    |                  ^ help: remove this semicolon
18
19 error: aborting due to 2 previous errors
20