1 #![feature(marker_trait_attr)]
2 #![feature(associated_type_defaults)]
7 //~^ ERROR marker traits cannot have associated items
13 //~^ ERROR marker traits cannot have associated items
19 //~^ ERROR marker traits cannot have associated items
23 trait MarkerConstWithDefault {
25 //~^ ERROR marker traits cannot have associated items
29 trait MarkerTypeWithDefault {
31 //~^ ERROR marker traits cannot have associated items
35 trait MarkerFnWithDefault {
37 //~^ ERROR marker traits cannot have associated items