]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0275]: overflow evaluating the requirement `NoClone: Magic` |
0731742a | 2 | --> $DIR/traits-inductive-overflow-supertrait.rs:13:18 |
b7449926 | 3 | | |
e1599b0c | 4 | LL | fn copy<T: Magic>(x: T) -> (T, T) { (x, x) } |
ba9703b0 | 5 | | ----- required by this bound in `copy` |
e1599b0c | 6 | ... |
532ac7d7 | 7 | LL | let (a, b) = copy(NoClone); |
b7449926 XL |
8 | | ^^^^ |
9 | | | |
10 | = note: required because of the requirements on the impl of `Magic` for `NoClone` | |
b7449926 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0275`. |