2018-08-08 12:28:26 +00:00
|
|
|
error[E0275]: overflow evaluating the requirement `NoClone: Magic`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/traits-inductive-overflow-supertrait.rs:13:18
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-08-24 21:44:43 +00:00
|
|
|
LL | fn copy<T: Magic>(x: T) -> (T, T) { (x, x) }
|
2020-04-06 05:15:06 +00:00
|
|
|
| ----- required by this bound in `copy`
|
2019-08-24 21:44:43 +00:00
|
|
|
...
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | let (a, b) = copy(NoClone);
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
= note: required because of the requirements on the impl of `Magic` for `NoClone`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0275`.
|