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
|
@ -9,7 +9,7 @@ LL | match &f {
|
|||
LL | FOO => {},
|
||||
| ^^^
|
||||
| |
|
||||
| expected `&Foo`, found struct `Foo`
|
||||
| expected `&Foo`, found `Foo`
|
||||
| `FOO` is interpreted as a constant, not a new binding
|
||||
| help: introduce a new binding instead: `other_foo`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue