2024-02-13 13:20:13 -06:00
|
|
|
error[E0119]: conflicting implementations of trait `Trait<_>`
|
|
|
|
--> $DIR/issue-45814.rs:10:1
|
2022-07-27 00:06:46 -05:00
|
|
|
|
|
|
|
|
LL | default impl<T, U> Trait<T> for U {}
|
2024-02-13 13:20:13 -06:00
|
|
|
| --------------------------------- first implementation here
|
|
|
|
LL |
|
|
|
|
LL | impl<T> Trait<<T as Iterator>::Item> for T {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
|
2022-07-27 00:06:46 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-07-27 00:06:46 -05:00
|
|
|
|
2024-02-13 13:20:13 -06:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|