File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
branches/try/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 1
1
---
2
2
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: 29d7147dda7f7fbca1341a7cad2f67107db49863
4
+ refs/heads/try: e9c15307a97a4389d12a29ec8d0d42171710d71f
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -803,6 +803,12 @@ fn main() {
803
803
See also https://doc.rust-lang.org/book/unsafe.html
804
804
"## ,
805
805
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
+
806
812
E0137 : r##"
807
813
This error indicates that the compiler found multiple functions with the
808
814
`#[main]` attribute. This is an error because there must be a unique entry
@@ -1596,7 +1602,6 @@ register_diagnostics! {
1596
1602
// E0006 // merged with E0005
1597
1603
// E0134,
1598
1604
// E0135,
1599
- E0136 ,
1600
1605
E0138 ,
1601
1606
E0139 ,
1602
1607
E0264 , // unknown external lang item
You can’t perform that action at this time.
0 commit comments