rust/tests/ui/track-diagnostics.stderr

11 lines
339 B
Plaintext
Raw Normal View History

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