fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) 2 --> $DIR/impl[t]-foreign[fundamental[t]]-for-fundamental[t].rs:12:10 3 | 4LL | impl<'a, T> Remote1<Box<T>> for &'a 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[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`) 10 --> $DIR/impl[t]-foreign[fundamental[t]]-for-fundamental[t].rs:15:10 11 | 12LL | impl<'a, T> Remote1<&'a T> for Box<T> { 13 | ^ type parameter `T` must be used as the type parameter for some local type 14 | 15 = note: only traits defined in the current crate can be implemented for a type parameter 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0210`.