fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0567]: auto traits cannot have generic parameters 2 --> $DIR/auto-trait-validation.rs:3:1 3 | 4LL | auto trait Generic<T> {} 5 | ^^^^^^^^^^^^^^^^^^^^^^^^ 6 7error[E0568]: auto traits cannot have super traits 8 --> $DIR/auto-trait-validation.rs:5:1 9 | 10LL | auto trait Bound : Copy {} 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error[E0380]: auto traits cannot have methods or associated items 14 --> $DIR/auto-trait-validation.rs:7:1 15 | 16LL | auto trait MyTrait { fn foo() {} } 17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 18 19error: aborting due to 3 previous errors 20 21Some errors have detailed explanations: E0380, E0567, E0568. 22For more information about an error, try `rustc --explain E0380`.