]> git.lizzy.rs Git - rust.git/blob - tests/ui/empty_structs_with_brackets.stderr
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / empty_structs_with_brackets.stderr
1 error: found empty brackets on struct declaration
2   --> $DIR/empty_structs_with_brackets.rs:5:25
3    |
4 LL | pub struct MyEmptyStruct {} // should trigger lint
5    |                         ^^^
6    |
7    = note: `-D clippy::empty-structs-with-brackets` implied by `-D warnings`
8    = help: remove the brackets
9
10 error: found empty brackets on struct declaration
11   --> $DIR/empty_structs_with_brackets.rs:6:26
12    |
13 LL | struct MyEmptyTupleStruct(); // should trigger lint
14    |                          ^^^
15    |
16    = help: remove the brackets
17
18 error: aborting due to 2 previous errors
19