summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/issue-84660-unsoundness.stderr
blob: 6a75e1bd2c0fa879eed9bbed7a2079d6c961acf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0119]: conflicting implementations of trait `Trait<Bar, _>`
  --> $DIR/issue-84660-unsoundness.rs:23:1
   |
LL | impl<In, Out> Trait<Bar, In> for Out {
   | ------------------------------------ first implementation here
...
LL | impl<In, Out> Trait<(), In> for Out {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation

error: aborting due to previous error

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