Skip to content

Commit 45bb81e

Browse files
author
Nick Hamann
committed
---
yaml --- r: 216807 b: refs/heads/stable c: f736468 h: refs/heads/master i: 216805: 44c9905 216803: d5b1860 216799: c54a02a v: v3
1 parent 4120679 commit 45bb81e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 87f0237d01936d291fc0f6499aff32726f0f6cb1
32+
refs/heads/stable: f736468c06b7c2dfc30ab72741aa2c63385bf2f0
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375

branches/stable/src/librustc/diagnostics.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@ fn main() {
271271
See also http://doc.rust-lang.org/book/unsafe.html
272272
"##,
273273

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+
274280
E0152: r##"
275281
Lang items are already implemented in the standard library. Unless you are
276282
writing a free-standing application (e.g. a kernel), you do not need to provide
@@ -800,7 +806,6 @@ register_diagnostics! {
800806
E0134,
801807
E0135,
802808
E0136,
803-
E0137,
804809
E0138,
805810
E0139,
806811
E0261, // use of undeclared lifetime name

0 commit comments

Comments
 (0)