blob: b3bbf233257d5004e5369622c3b00ddc3de65e7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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`.
|