about summary refs log tree commit diff
path: root/src/test/ui/traits/traits-inductive-overflow-supertrait.stderr
blob: 92747be7d2c6b80bdd337ed8cddad34b6aa019c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0275]: overflow evaluating the requirement `NoClone: Magic`
  --> $DIR/traits-inductive-overflow-supertrait.rs:13:18
   |
LL | fn copy<T: Magic>(x: T) -> (T, T) { (x, x) }
   | --------------------------------- required by `copy`
...
LL |     let (a, b) = copy(NoClone);
   |                  ^^^^
   |
   = 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`.