fork/rust

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

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

1.39.0
517 B11 linesraw
1error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`)
2  --> $DIR/coherence-cow.rs:28:1
3   |
4LL | impl<T,U> Remote for Pair<Cover<T>,U> { }
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type
6   |
7   = note: only traits defined in the current crate can be implemented for a type parameter
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0210`.