diff options
| author | Nick Hamann <nick@wabbo.org> | 2015-05-07 18:41:33 -0500 |
|---|---|---|
| committer | Nick Hamann <nick@wabbo.org> | 2015-05-09 13:56:18 -0500 |
| commit | 87f0237d01936d291fc0f6499aff32726f0f6cb1 (patch) | |
| tree | 3e95dbefec0bc1290908de8ec14adaa41060c064 /src | |
| parent | dc630d01e3eae8ba05db98383119bc2ddbbb01c1 (diff) | |
| download | rust-87f0237d01936d291fc0f6499aff32726f0f6cb1.tar.gz rust-87f0237d01936d291fc0f6499aff32726f0f6cb1.zip | |
Add long diagnostics for E0062 and E0063
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index f00f0eea1f4..cf229e58027 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -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, |
