We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eee955 commit bf5c64aCopy full SHA for bf5c64a
src/librustc_error_codes/error_codes/E0062.md
@@ -1,6 +1,6 @@
1
-This error indicates that during an attempt to build a struct or struct-like
2
-enum variant, one of the fields was specified more than once. Erroneous code
3
-example:
+A struct's or struct-like enum variant's field was specified more than once.
+
+Erroneous code example:
4
5
```compile_fail,E0062
6
struct Foo {
@@ -15,7 +15,9 @@ fn main() {
15
}
16
```
17
18
-Each field should be specified exactly one time. Example:
+This error indicates that during an attempt to build a struct or struct-like
19
+enum variant, one of the fields was specified more than once. Each field should
20
+be specified exactly one time. Example:
21
22
23
0 commit comments