summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/next-solver/coherence/trait_ref_is_knowable-norm-overflow.stderr
blob: e3c0dabf549e8b19a4604f1ace380c12bd4927fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0119]: conflicting implementations of trait `Trait` for type `<LocalTy as Overflow>::Assoc`
  --> $DIR/trait_ref_is_knowable-norm-overflow.rs:17:1
   |
LL | impl<T: Copy> Trait for T {}
   | ------------------------- first implementation here
LL | struct LocalTy;
LL | impl Trait for <LocalTy as Overflow>::Assoc {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `<LocalTy as Overflow>::Assoc`

error: aborting due to 1 previous error

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