1 #![feature(marker_trait_attr)]
3 #[marker] //~ ERROR attribute should be applied to a trait
6 #[marker] //~ ERROR attribute should be applied to a trait
9 #[marker] //~ ERROR attribute should be applied to a trait
14 #[marker] //~ ERROR attribute should be applied to a trait
15 const CONST: usize = 10;
17 #[marker] //~ ERROR attribute should be applied to a trait
20 #[marker] //~ ERROR attribute should be applied to a trait