fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
629 B14 linesraw
1error[E0308]: mismatched types
2  --> $DIR/universal-two-impl-traits.rs:5:9
3   |
4LL |     a = y;
5   |         ^ expected type parameter, found a different type parameter
6   |
7   = note: expected type `impl Debug` (type parameter)
8              found type `impl Debug` (type parameter)
9   = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound
10   = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0308`.