Skip to content

Commit 5318080

Browse files
committed
---
yaml --- r: 221541 b: refs/heads/snap-stage3 c: e9c1530 h: refs/heads/master i: 221539: bfc7600 v: v3
1 parent 94738c0 commit 5318080

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
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 607f74df2ad6b6fb32ce5b862a9e48a8c4afdad2
3-
refs/heads/snap-stage3: 29d7147dda7f7fbca1341a7cad2f67107db49863
3+
refs/heads/snap-stage3: e9c15307a97a4389d12a29ec8d0d42171710d71f
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/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)