mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 07:04:18 +00:00
10 lines
355 B
Text
10 lines
355 B
Text
error[E0308]: mismatched types
|
|
--> tests/ui/track-diagnostics.rs:LL:CC
|
|
|
|
|
LL | const S: A = B;
|
|
| ^ expected `A`, found `B`
|
|
-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`.
|