Skip to content

Commit

Permalink
Change E0062 and E0063 to say each field should be specified once.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Hamann committed May 9, 2015
1 parent f736468 commit df64e05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/librustc_typeck/diagnostics.rs
Expand Up @@ -36,12 +36,14 @@ let x_is_nonzero = x as bool;

E0062: r##"
This error indicates that during an attempt to build a struct or struct-like
enum variant, one of the fields was specified more than once.
enum variant, one of the fields was specified more than once. Each field should
be specified exactly one time.
"##,

E0063: r##"
This error indicates that during an attempt to build a struct or struct-like
enum variant, one of the fields was not provided.
enum variant, one of the fields was not provided. Each field should be specified
exactly once.
"##,

E0081: r##"
Expand Down

0 comments on commit df64e05

Please sign in to comment.