Skip to content

Commit 04ba490

Browse files
committed
---
yaml --- r: 228731 b: refs/heads/try c: 3080df3 h: refs/heads/master i: 228729: 561ff0d 228727: 3bb66bb v: v3
1 parent 091dadb commit 04ba490

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,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: e9c15307a97a4389d12a29ec8d0d42171710d71f
4+
refs/heads/try: 3080df36e27ed74399f9fe22e4796e209abd2b69
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/librustc/diagnostics.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,12 @@ This error indicates that the compiler found multiple functions with the
815815
point into a Rust program.
816816
"##,
817817

818+
E0138: r##"
819+
This error indicates that the compiler found multiple functions with the
820+
`#[start]` attribute. This is an error because there must be a unique entry
821+
point into a Rust program.
822+
"##,
823+
818824
E0152: r##"
819825
Lang items are already implemented in the standard library. Unless you are
820826
writing a free-standing application (e.g. a kernel), you do not need to provide
@@ -1602,7 +1608,6 @@ register_diagnostics! {
16021608
// E0006 // merged with E0005
16031609
// E0134,
16041610
// E0135,
1605-
E0138,
16061611
E0139,
16071612
E0264, // unknown external lang item
16081613
E0269, // not all control paths return a value

0 commit comments

Comments
 (0)