Modify primary span label for E0308
The previous output was unintuitive to users.
This commit is contained in:
parent
006ca9b14d
commit
62ba3e70a1
383 changed files with 889 additions and 926 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…
Add table
Add a link
Reference in a new issue