fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
515 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-pair-covered-uncovered-1.rs:15:6
3   |
4LL | impl<T, U> Remote1<Pair<T, Local<U>>> for i32 { }
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`.