]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/traits-inductive-overflow-supertrait.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / traits / traits-inductive-overflow-supertrait.stderr
CommitLineData
b7449926 1error[E0275]: overflow evaluating the requirement `NoClone: Magic`
0731742a 2 --> $DIR/traits-inductive-overflow-supertrait.rs:13:18
b7449926 3 |
e1599b0c 4LL | fn copy<T: Magic>(x: T) -> (T, T) { (x, x) }
ba9703b0 5 | ----- required by this bound in `copy`
e1599b0c 6...
532ac7d7 7LL | 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
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0275`.