rust-clippy/tests/ui/track-diagnostics.stderr

11 lines
353 B
Text
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 struct `A`, found struct `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`.