1 error[E0568]: auto traits cannot have super traits or lifetime bounds
2 --> $DIR/supertrait-auto-trait.rs:8:17
4 LL | auto trait Magic: Copy {}
5 | -----^^^^^^ help: remove the super traits or lifetime bounds
7 | auto trait cannot have super traits or lifetime bounds
9 error[E0277]: the trait bound `NoClone: Copy` is not satisfied
10 --> $DIR/supertrait-auto-trait.rs:16:23
12 LL | let (a, b) = copy(NoClone);
13 | ---- ^^^^^^^ the trait `Copy` is not implemented for `NoClone`
15 | required by a bound introduced by this call
17 note: required because of the requirements on the impl of `Magic` for `NoClone`
18 --> $DIR/supertrait-auto-trait.rs:8:12
20 LL | auto trait Magic: Copy {}
22 note: required by a bound in `copy`
23 --> $DIR/supertrait-auto-trait.rs:10:12
25 LL | fn copy<T: Magic>(x: T) -> (T, T) { (x, x) }
26 | ^^^^^ required by this bound in `copy`
28 error: aborting due to 2 previous errors
30 Some errors have detailed explanations: E0277, E0568.
31 For more information about an error, try `rustc --explain E0277`.