fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0567]: auto traits cannot have generic parameters 2 --> $DIR/auto-trait-validation.rs:5: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 or lifetime bounds 10 --> $DIR/auto-trait-validation.rs:7:17 11 | 12LL | auto trait Bound : Copy {} 13 | -----^^^^^^^ help: remove the super traits or lifetime bounds 14 | | 15 | auto traits cannot have super traits or lifetime bounds 16 17error[E0568]: auto traits cannot have super traits or lifetime bounds 18 --> $DIR/auto-trait-validation.rs:9:25 19 | 20LL | auto trait LifetimeBound : 'static {} 21 | -------------^^^^^^^^^^ help: remove the super traits or lifetime bounds 22 | | 23 | auto traits cannot have super traits or lifetime bounds 24 25error[E0380]: auto traits cannot have associated items 26 --> $DIR/auto-trait-validation.rs:11:25 27 | 28LL | auto trait MyTrait { fn foo() {} } 29 | ------- ---^^^----- 30 | | | 31 | | help: remove these associated items 32 | auto traits cannot have associated items 33 34error: aborting due to 4 previous errors 35 36Some errors have detailed explanations: E0380, E0567, E0568. 37For more information about an error, try `rustc --explain E0380`.