diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-06-01 00:09:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-01 00:09:23 -0400 |
| commit | a3b842e191c585094855ba1735efc74589086d30 (patch) | |
| tree | 834e2b14519e09839866ebd02823ad4944042ed2 /src/test | |
| parent | b03ed42c365b3412fe5a181cbdba79ed7b936bbe (diff) | |
| parent | a333be7cfecbbe9a659f4f180978fa4dd74d455d (diff) | |
| download | rust-a3b842e191c585094855ba1735efc74589086d30.tar.gz rust-a3b842e191c585094855ba1735efc74589086d30.zip | |
Rollup merge of #42302 - GuillaumeGomez:new-error-codes-next, r=Susurrus
New error codes next Part #42229. To be merged after #42264. cc @Susurrus
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/missing-items/m2.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/resolve/issue-14254.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/resolve/issue-21221-2.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/span/issue-35987.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/token/issue-10636-2.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/token/issue-41155.stderr | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/test/ui/missing-items/m2.stderr b/src/test/ui/missing-items/m2.stderr index 26748d18ffa..2d699c66359 100644 --- a/src/test/ui/missing-items/m2.stderr +++ b/src/test/ui/missing-items/m2.stderr @@ -1,4 +1,4 @@ -error: main function not found +error[E0601]: main function not found error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `method` --> $DIR/m2.rs:20:1 diff --git a/src/test/ui/resolve/issue-14254.stderr b/src/test/ui/resolve/issue-14254.stderr index 8aaad906ea2..009d969fc28 100644 --- a/src/test/ui/resolve/issue-14254.stderr +++ b/src/test/ui/resolve/issue-14254.stderr @@ -142,7 +142,7 @@ error[E0425]: cannot find value `bah` in this scope 133 | bah; | ^^^ did you mean `Self::bah`? -error: main function not found +error[E0601]: main function not found error: aborting due to previous error(s) diff --git a/src/test/ui/resolve/issue-21221-2.stderr b/src/test/ui/resolve/issue-21221-2.stderr index f0b22754e64..b35f1bd2670 100644 --- a/src/test/ui/resolve/issue-21221-2.stderr +++ b/src/test/ui/resolve/issue-21221-2.stderr @@ -7,7 +7,7 @@ error[E0405]: cannot find trait `T` in this scope help: possible candidate is found in another module, you can import it into scope | use foo::bar::T; -error: main function not found +error[E0601]: main function not found error: cannot continue compilation due to previous error diff --git a/src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr b/src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr index 24cef694737..a34c27a47da 100644 --- a/src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr +++ b/src/test/ui/resolve/suggest-path-instead-of-mod-dot-item.stderr @@ -72,7 +72,7 @@ error[E0423]: expected function, found module `a::b` | | | did you mean `I`? -error: main function not found +error[E0601]: main function not found error: aborting due to previous error(s) diff --git a/src/test/ui/span/issue-35987.stderr b/src/test/ui/span/issue-35987.stderr index e53ea6a55af..a2597aba0bd 100644 --- a/src/test/ui/span/issue-35987.stderr +++ b/src/test/ui/span/issue-35987.stderr @@ -7,7 +7,7 @@ error[E0404]: expected trait, found type parameter `Add` help: possible better candidate is found in another module, you can import it into scope | use std::ops::Add; -error: main function not found +error[E0601]: main function not found error: cannot continue compilation due to previous error diff --git a/src/test/ui/token/issue-10636-2.stderr b/src/test/ui/token/issue-10636-2.stderr index faa30dca945..4b0b05ca65a 100644 --- a/src/test/ui/token/issue-10636-2.stderr +++ b/src/test/ui/token/issue-10636-2.stderr @@ -22,7 +22,7 @@ error: expected expression, found `)` 19 | } //~ ERROR: incorrect close delimiter | ^ -error: main function not found +error[E0601]: main function not found error: aborting due to previous error(s) diff --git a/src/test/ui/token/issue-41155.stderr b/src/test/ui/token/issue-41155.stderr index 96c2d764e71..56f71a29953 100644 --- a/src/test/ui/token/issue-41155.stderr +++ b/src/test/ui/token/issue-41155.stderr @@ -12,7 +12,7 @@ error[E0412]: cannot find type `S` in this scope 11 | impl S { | ^ not found in this scope -error: main function not found +error[E0601]: main function not found error: aborting due to previous error(s) |
