rust/tests/ui/type-alias-impl-trait/recursive-tait-conflicting-...

15 lines
351 B
Plaintext

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