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