mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
87a354b15d
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
341 B
Plaintext
11 lines
341 B
Plaintext
error[E0308]: mismatched types
|
|
--> $DIR/track-diagnostics.rs:LL:CC
|
|
|
|
|
LL | const S: A = B;
|
|
| ^ expected `A`, found `B`
|
|
-Ztrack-diagnostics: created at compiler/rustc_infer/src/infer/error_reporting/mod.rs:LL:CC
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|