1 error[E0517]: attribute should be applied to enum
2 --> $DIR/issue-74082.rs:3:8
7 | ----------- not an enum
9 error[E0517]: attribute should be applied to enum
10 --> $DIR/issue-74082.rs:6:8
15 | ----------- not an enum
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0517`.