1 error[E0567]: auto traits cannot have generic parameters
2 --> $DIR/auto-trait-validation.rs:3: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
10 --> $DIR/auto-trait-validation.rs:5:20
12 LL | auto trait Bound : Copy {}
13 | ----- ^^^^ help: remove the super traits
15 | auto trait cannot have super traits
17 error[E0380]: auto traits cannot have methods or associated items
18 --> $DIR/auto-trait-validation.rs:7:25
20 LL | auto trait MyTrait { fn foo() {} }
23 | auto trait cannot have items
25 error: aborting due to 3 previous errors
27 Some errors have detailed explanations: E0380, E0567, E0568.
28 For more information about an error, try `rustc --explain E0380`.