rust/tests/ui/track-diagnostics.stderr

11 lines
339 B
Plaintext
Raw Normal View History

2022-10-24 13:52:51 -05:00
error[E0308]: mismatched types
2022-10-26 06:41:57 -05:00
--> $DIR/track-diagnostics.rs:LL:CC
2022-10-24 13:52:51 -05:00
|
LL | const S: A = B;
| ^ expected `A`, found `B`
2022-10-26 06:41:57 -05:00
-Ztrack-diagnostics: created at compiler/rustc_infer/src/infer/error_reporting/mod.rs:LL:CC
2022-10-24 13:52:51 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.