We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f672e7 commit 37eb628Copy full SHA for 37eb628
tests/ui/lint/dead-code/unused-struct-derive-default.rs
@@ -7,7 +7,7 @@ struct T; //~ ERROR struct `T` is never constructed
7
struct Used;
8
9
#[derive(Default)]
10
-enum E { //~ NOTE variants in this enum
+enum E { //~ NOTE variant in this enum
11
#[default]
12
A,
13
B, //~ ERROR variant `B` is never constructed
0 commit comments