You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E0559 needs a help converted to a span_label, updating this:
error[E0559]: struct variant `Field::Fool` has no field named `joke`
--> src/test/compile-fail/E0559.rs:16:27
|
16 | let s = Field::Fool { joke: 0 }; //~ ERROR E0559
| ^^^^
|
help: did you mean `x`?
--> src/test/compile-fail/E0559.rs:16:27
|
16 | let s = Field::Fool { joke: 0 }; //~ ERROR E0559
| ^^^^
To:
error[E0559]: struct variant `Field::Fool` has no field named `joke`
--> src/test/compile-fail/E0559.rs:16:27
|
16 | let s = Field::Fool { joke: 0 }; //~ ERROR E0559
| ^^^^ did you mean `x`?
The text was updated successfully, but these errors were encountered:
Updated E0559 to new format
Refactored a method that printed one suggested field name,
into a method that returns an `Option` of a suggestion
(Updated test cases accordingly)
r? @jonathandturnerClosesrust-lang#36197
sophiajt
pushed a commit
to sophiajt/rust
that referenced
this issue
Sep 6, 2016
Updated E0559 to new format
Refactored a method that printed one suggested field name,
into a method that returns an `Option` of a suggestion
(Updated test cases accordingly)
r? @jonathandturnerClosesrust-lang#36197
From: src/test/compile-fail/E0559.rs
E0559 needs a help converted to a span_label, updating this:
To:
The text was updated successfully, but these errors were encountered: