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