summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/alias_eq_substs_eq_not_intercrate.stderr
blob: 8eda64e4490b45ebdb5f2aa0ac281eee5c9348d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0119]: conflicting implementations of trait `Overlaps<Box<_>>` for type `<_ as TraitB>::Assoc`
  --> $DIR/alias_eq_substs_eq_not_intercrate.rs:14:1
   |
LL | impl<T: TraitB> Overlaps<Box<T>> for <T as TraitB>::Assoc {}
   | --------------------------------------------------------- first implementation here
LL | impl<U: TraitB> Overlaps<U> for <U as TraitB>::Assoc {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `<_ as TraitB>::Assoc`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0119`.