1 error: found empty brackets on struct declaration
2 --> $DIR/empty_structs_with_brackets.rs:5:25
4 LL | pub struct MyEmptyStruct {} // should trigger lint
7 = note: `-D clippy::empty-structs-with-brackets` implied by `-D warnings`
8 = help: remove the brackets
10 error: found empty brackets on struct declaration
11 --> $DIR/empty_structs_with_brackets.rs:6:26
13 LL | struct MyEmptyTupleStruct(); // should trigger lint
16 = help: remove the brackets
18 error: aborting due to 2 previous errors