Add long diagnostics for E0062 and E0063

This commit is contained in:
Nick Hamann 2015-05-07 18:41:33 -05:00
parent dc630d01e3
commit 87f0237d01

View file

@ -34,6 +34,16 @@ 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.
"##,
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.
"##,
E0081: r##"
Enum discriminants are used to differentiate enum variants stored in memory.
This error indicates that the same value was used for two or more variants,
@ -136,8 +146,6 @@ register_diagnostics! {
E0059,
E0060,
E0061,
E0062,
E0063,
E0066,
E0067,
E0068,