summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/recursive-tait-conflicting-defn.stderr
blob: 05825e68625912abcfdcac4ad3fcc2e422dc1d25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: concrete type differs from previous defining opaque type use
  --> $DIR/recursive-tait-conflicting-defn.rs:30:3
   |
LL |   Some(B { inner })
   |   ^^^^^^^^^^^^^^^^^ expected `A`, got `B<TestImpl>`
   |
note: previous use here
  --> $DIR/recursive-tait-conflicting-defn.rs:20:3
   |
LL |   A
   |   ^

error: aborting due to 1 previous error