blob: 64a56e3237dc3a0e5cce62e47e1f752420f1ab64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0308]: mismatched types
--> $DIR/issue-30225.rs:31: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`.
|