]> git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/traits-inductive-overflow-supertrait.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / traits / traits-inductive-overflow-supertrait.stderr
1 error[E0275]: overflow evaluating the requirement `NoClone: Magic`
2 --> $DIR/traits-inductive-overflow-supertrait.rs:13:18
3 |
4 LL | fn copy<T: Magic>(x: T) -> (T, T) { (x, x) }
5 | ---- ----- required by this bound in `copy`
6 ...
7 LL | let (a, b) = copy(NoClone);
8 | ^^^^
9 |
10 = note: required because of the requirements on the impl of `Magic` for `NoClone`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0275`.