mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Add long diagnostics for E0062 and E0063
This commit is contained in:
parent
dc630d01e3
commit
87f0237d01
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user