mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
14 lines
458 B
Plaintext
14 lines
458 B
Plaintext
error[E0308]: mismatched types
|
|
--> $DIR/track-diagnostics.rs:LL:CC
|
|
|
|
|
LL | pub const S: A = B;
|
|
| - ^ expected `A`, found `B`
|
|
| |
|
|
| expected because of the type of the constant
|
|
|
|
|
= note: -Ztrack-diagnostics: created at compiler/rustc_trait_selection/src/error_reporting/infer/mod.rs:LL:CC
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|