]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-pair-covered-uncovered-1.stderr
Various minor/cosmetic improvements to code
[rust.git] / src / test / ui / coherence / coherence-pair-covered-uncovered-1.stderr
1 error[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:21:1
3    |
4 LL | 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
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0210`.