fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0568]: auto traits cannot have super traits 2 --> $DIR/traits-inductive-overflow-supertrait-oibit.rs:8:19 3 | 4LL | auto trait Magic: Copy {} 5 | ----- ^^^^ help: remove the super traits 6 | | 7 | auto trait cannot have super traits 8 9error[E0277]: the trait bound `NoClone: std::marker::Copy` is not satisfied 10 --> $DIR/traits-inductive-overflow-supertrait-oibit.rs:16:23 11 | 12LL | fn copy<T: Magic>(x: T) -> (T, T) { (x, x) } 13 | ----- required by this bound in `copy` 14... 15LL | let (a, b) = copy(NoClone); 16 | ^^^^^^^ the trait `std::marker::Copy` is not implemented for `NoClone` 17 | 18 = note: required because of the requirements on the impl of `Magic` for `NoClone` 19 20error: aborting due to 2 previous errors 21 22Some errors have detailed explanations: E0277, E0568. 23For more information about an error, try `rustc --explain E0277`.