about summary refs log tree commit diff
path: root/tests/ui/specialization/issue-45814.current.stderr
blob: b89d3073a8f070d8fbb8a5c9d08c8296f17e4d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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`.