1 error: this seems like a manual implementation of the non-exhaustive pattern
2 --> $DIR/manual_non_exhaustive_struct.rs:5:5
7 | _____help: add the attribute: `#[non_exhaustive] struct S`
15 = note: `-D clippy::manual-non-exhaustive` implied by `-D warnings`
16 help: remove this field
17 --> $DIR/manual_non_exhaustive_struct.rs:8:9
22 error: this seems like a manual implementation of the non-exhaustive pattern
23 --> $DIR/manual_non_exhaustive_struct.rs:13:5
32 help: remove this field
33 --> $DIR/manual_non_exhaustive_struct.rs:16:9
38 error: this seems like a manual implementation of the non-exhaustive pattern
39 --> $DIR/manual_non_exhaustive_struct.rs:54:5
41 LL | struct T(pub i32, pub i32, ());
42 | --------^^^^^^^^^^^^^^^^^^^^^^^
44 | help: add the attribute: `#[non_exhaustive] struct T`
46 help: remove this field
47 --> $DIR/manual_non_exhaustive_struct.rs:54:32
49 LL | struct T(pub i32, pub i32, ());
52 error: this seems like a manual implementation of the non-exhaustive pattern
53 --> $DIR/manual_non_exhaustive_struct.rs:58:5
55 LL | struct Tp(pub i32, pub i32, ());
56 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58 help: remove this field
59 --> $DIR/manual_non_exhaustive_struct.rs:58:33
61 LL | struct Tp(pub i32, pub i32, ());
64 error: aborting due to 4 previous errors