1 error: this seems like a manual implementation of the non-exhaustive pattern
2 --> $DIR/manual_non_exhaustive.rs:5:5
7 | _____help: add the attribute: `#[non_exhaustive] enum E`
16 = note: `-D clippy::manual-non-exhaustive` implied by `-D warnings`
17 help: remove this variant
18 --> $DIR/manual_non_exhaustive.rs:9:9
23 error: this seems like a manual implementation of the non-exhaustive pattern
24 --> $DIR/manual_non_exhaustive.rs:14:5
34 help: remove this variant
35 --> $DIR/manual_non_exhaustive.rs:18:9
40 error: this seems like a manual implementation of the non-exhaustive pattern
41 --> $DIR/manual_non_exhaustive.rs:68:5
46 | _____help: add the attribute: `#[non_exhaustive] struct S`
54 help: remove this field
55 --> $DIR/manual_non_exhaustive.rs:71:9
60 error: this seems like a manual implementation of the non-exhaustive pattern
61 --> $DIR/manual_non_exhaustive.rs:76:5
70 help: remove this field
71 --> $DIR/manual_non_exhaustive.rs:79:9
76 error: this seems like a manual implementation of the non-exhaustive pattern
77 --> $DIR/manual_non_exhaustive.rs:117:5
79 LL | struct T(pub i32, pub i32, ());
80 | --------^^^^^^^^^^^^^^^^^^^^^^^
82 | help: add the attribute: `#[non_exhaustive] struct T`
84 help: remove this field
85 --> $DIR/manual_non_exhaustive.rs:117:32
87 LL | struct T(pub i32, pub i32, ());
90 error: this seems like a manual implementation of the non-exhaustive pattern
91 --> $DIR/manual_non_exhaustive.rs:121:5
93 LL | struct Tp(pub i32, pub i32, ());
94 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
96 help: remove this field
97 --> $DIR/manual_non_exhaustive.rs:121:33
99 LL | struct Tp(pub i32, pub i32, ());
102 error: aborting due to 6 previous errors