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
|
@ -3,5 +3,5 @@ type FooAlias = Foo;
|
|||
|
||||
fn main() {
|
||||
let u = FooAlias { value: 0 };
|
||||
//~^ ERROR expected struct, variant or union type, found enum `Foo` [E0071]
|
||||
//~^ ERROR expected struct, variant or union type, found `Foo` [E0071]
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
error[E0071]: expected struct, variant or union type, found enum `Foo`
|
||||
error[E0071]: expected struct, variant or union type, found `Foo`
|
||||
--> $DIR/E0071.rs:5:13
|
||||
|
|
||||
LL | let u = FooAlias { value: 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue