fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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