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