mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 07:04:18 +00:00
Modify primary span label for E0308
The previous output was unintuitive to users.
This commit is contained in:
parent
17369f324c
commit
821199c885
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ error[E0308]: mismatched types
|
|||
--> $DIR/track-diagnostics.rs:LL:CC
|
||||
|
|
||||
LL | const S: A = B;
|
||||
| ^ expected struct `A`, found struct `B`
|
||||
| ^ expected `A`, found `B`
|
||||
-Ztrack-diagnostics: created at compiler/rustc_infer/src/infer/error_reporting/mod.rs:LL:CC
|
||||
|
||||
error: aborting due to previous error
|
||||
|
|
Loading…
Reference in a new issue