blob: ec30318625311fadb7af2c1017c1add7d216a2f0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error[E0308]: mismatched types
--> $DIR/track-diagnostics.rs:LL:CC
|
LL | const S: A = B;
| ^ expected struct `A`, found struct `B`
-Ztrack-diagnostics: created at compiler/rustc_infer/src/infer/error_reporting/mod.rs:LL:CC
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|