1 error: attribute can only be applied to a trait
2 --> $DIR/marker-attribute-on-non-trait.rs:3:1
7 | ---------------- not a trait
9 error: attribute can only be applied to a trait
10 --> $DIR/marker-attribute-on-non-trait.rs:6:1
15 | -------------- not a trait
17 error: attribute can only be applied to a trait
18 --> $DIR/marker-attribute-on-non-trait.rs:9:1
27 error: attribute can only be applied to a trait
28 --> $DIR/marker-attribute-on-non-trait.rs:14:1
32 LL | const CONST: usize = 10;
33 | ------------------------ not a trait
35 error: attribute can only be applied to a trait
36 --> $DIR/marker-attribute-on-non-trait.rs:17:1
41 | ---------------- not a trait
43 error: attribute can only be applied to a trait
44 --> $DIR/marker-attribute-on-non-trait.rs:20:1
49 | --------------- not a trait
51 error: aborting due to 6 previous errors