fork/rust

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

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

1.40.0
489 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-vec-local-2.rs:14:6
3   |
4LL | impl<T> Remote for Vec<Local<T>> { }
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`.