1 error[E0567]: auto traits cannot have generic parameters
2 --> $DIR/auto-trait-validation.rs:3:1
4 LL | auto trait Generic<T> {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 error[E0568]: auto traits cannot have super traits
8 --> $DIR/auto-trait-validation.rs:5:1
10 LL | auto trait Bound : Copy {}
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error[E0380]: auto traits cannot have methods or associated items
14 --> $DIR/auto-trait-validation.rs:7:1
16 LL | auto trait MyTrait { fn foo() {} }
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0380`.