File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
branches/stable/src/librustc Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: 87f0237d01936d291fc0f6499aff32726f0f6cb1
32
+ refs/heads/stable: f736468c06b7c2dfc30ab72741aa2c63385bf2f0
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
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
You can’t perform that action at this time.
0 commit comments