File tree 2 files changed +18
-3
lines changed
2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,12 @@ fn main() {
271
271
See also http://doc.rust-lang.org/book/unsafe.html
272
272
"## ,
273
273
274
+ E0137 : r##"
275
+ This error indicates that the compiler found multiple functions with the
276
+ #[main] attribute. This is an error because there must be a unique entry point
277
+ into a Rust program.
278
+ "## ,
279
+
274
280
E0152 : r##"
275
281
Lang items are already implemented in the standard library. Unless you are
276
282
writing a free-standing application (e.g. a kernel), you do not need to provide
@@ -800,7 +806,6 @@ register_diagnostics! {
800
806
E0134 ,
801
807
E0135 ,
802
808
E0136 ,
803
- E0137 ,
804
809
E0138 ,
805
810
E0139 ,
806
811
E0261 , // use of undeclared lifetime name
Original file line number Diff line number Diff line change @@ -34,6 +34,18 @@ let x_is_nonzero = x as bool;
34
34
```
35
35
"## ,
36
36
37
+ E0062 : r##"
38
+ This error indicates that during an attempt to build a struct or struct-like
39
+ enum variant, one of the fields was specified more than once. Each field should
40
+ be specified exactly one time.
41
+ "## ,
42
+
43
+ E0063 : r##"
44
+ This error indicates that during an attempt to build a struct or struct-like
45
+ enum variant, one of the fields was not provided. Each field should be specified
46
+ exactly once.
47
+ "## ,
48
+
37
49
E0081 : r##"
38
50
Enum discriminants are used to differentiate enum variants stored in memory.
39
51
This error indicates that the same value was used for two or more variants,
@@ -136,8 +148,6 @@ register_diagnostics! {
136
148
E0059 ,
137
149
E0060 ,
138
150
E0061 ,
139
- E0062 ,
140
- E0063 ,
141
151
E0066 ,
142
152
E0067 ,
143
153
E0068 ,
You can’t perform that action at this time.
0 commit comments