1 error[E0567]: auto traits cannot have generic parameters
2 --> $DIR/auto-trait-validation.rs:5:19
4 LL | auto trait Generic<T> {}
5 | -------^^^ help: remove the parameters
7 | auto trait cannot have generic parameters
9 error[E0568]: auto traits cannot have super traits or lifetime bounds
10 --> $DIR/auto-trait-validation.rs:7:17
12 LL | auto trait Bound : Copy {}
13 | -----^^^^^^^ help: remove the super traits or lifetime bounds
15 | auto trait cannot have super traits or lifetime bounds
17 error[E0568]: auto traits cannot have super traits or lifetime bounds
18 --> $DIR/auto-trait-validation.rs:9:25
20 LL | auto trait LifetimeBound : 'static {}
21 | -------------^^^^^^^^^^ help: remove the super traits or lifetime bounds
23 | auto trait cannot have super traits or lifetime bounds
25 error[E0380]: auto traits cannot have associated items
26 --> $DIR/auto-trait-validation.rs:11:25
28 LL | auto trait MyTrait { fn foo() {} }
31 | | help: remove these associated items
32 | auto trait cannot have associated items
34 error: aborting due to 4 previous errors
36 Some errors have detailed explanations: E0380, E0567, E0568.
37 For more information about an error, try `rustc --explain E0380`.