Skip to content

Commit c117a17

Browse files
committed
---
yaml --- r: 235801 b: refs/heads/stable c: e9c1530 h: refs/heads/master i: 235799: 557f71c v: v3
1 parent 586a8b2 commit c117a17

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,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 29d7147dda7f7fbca1341a7cad2f67107db49863
32+
refs/heads/stable: e9c15307a97a4389d12a29ec8d0d42171710d71f
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/librustc/diagnostics.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,12 @@ fn main() {
803803
See also https://doc.rust-lang.org/book/unsafe.html
804804
"##,
805805

806+
// This shouldn't really ever trigger since the repeated value error comes first
807+
E0136: r##"
808+
A binary can only have one entry point, and by default that entry point is the
809+
function `main()`. If there are multiple such functions, please rename one.
810+
"##,
811+
806812
E0137: r##"
807813
This error indicates that the compiler found multiple functions with the
808814
`#[main]` attribute. This is an error because there must be a unique entry
@@ -1596,7 +1602,6 @@ register_diagnostics! {
15961602
// E0006 // merged with E0005
15971603
// E0134,
15981604
// E0135,
1599-
E0136,
16001605
E0138,
16011606
E0139,
16021607
E0264, // unknown external lang item

0 commit comments

Comments
 (0)