13 lines
351 B
Plaintext
13 lines
351 B
Plaintext
|
error[E0308]: mismatched types
|
||
|
--> $DIR/issue-30225.rs:41:9
|
||
|
|
|
||
|
LL | u = v; // mark $0 and $1 in a subtype relationship
|
||
|
| ^ expected struct `A`, found struct `B`
|
||
|
|
|
||
|
= note: expected type `A`
|
||
|
found type `B`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0308`.
|