1 #![feature(auto_traits)]
5 auto trait Generic<T> {}
6 //~^ auto traits cannot have generic parameters [E0567]
7 auto trait Bound : Copy {}
8 //~^ auto traits cannot have super traits or lifetime bounds [E0568]
9 auto trait LifetimeBound : 'static {}
10 //~^ auto traits cannot have super traits or lifetime bounds [E0568]
11 auto trait MyTrait { fn foo() {} }
12 //~^ auto traits cannot have associated items [E0380]