1 error[E0517]: attribute should be applied to a struct, enum, or union
2 --> $DIR/attr-usage-repr.rs:3:8
7 | --------- not a struct, enum, or union
9 error[E0517]: attribute should be applied to an enum
10 --> $DIR/attr-usage-repr.rs:15:8
14 LL | struct SInt(f64, f64);
15 | ---------------------- not an enum
17 error[E0517]: attribute should be applied to a struct or union
18 --> $DIR/attr-usage-repr.rs:24:8
22 LL | enum EPacked { A, B }
23 | --------------------- not a struct or union
25 error[E0517]: attribute should be applied to a struct
26 --> $DIR/attr-usage-repr.rs:27:8
30 LL | enum ESimd { A, B }
31 | ------------------- not a struct
33 error: aborting due to 4 previous errors
35 For more information about this error, try `rustc --explain E0517`.