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 87f0237 commit f736468Copy full SHA for f736468
src/librustc/diagnostics.rs
@@ -271,6 +271,12 @@ fn main() {
271
See also http://doc.rust-lang.org/book/unsafe.html
272
"##,
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
+
280
E0152: r##"
281
Lang items are already implemented in the standard library. Unless you are
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,
811
E0261, // use of undeclared lifetime name
0 commit comments