mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
13 lines
446 B
Plaintext
13 lines
446 B
Plaintext
error[E0119]: conflicting implementations of trait `Trait<_>`
|
|
--> $DIR/issue-45814.rs:10:1
|
|
|
|
|
LL | default impl<T, U> Trait<T> for U {}
|
|
| --------------------------------- first implementation here
|
|
LL |
|
|
LL | impl<T> Trait<<T as Iterator>::Item> for T {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|