Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Nov 18, 2019
1 parent b3517cd commit 468722b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 39 deletions.
4 changes: 1 addition & 3 deletions src/test/ui/async-await/issue-66387-if-without-else.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ error[E0317]: if may be missing an else clause
LL | / if true {
LL | | return 0;
LL | | }
| |_____^ expected (), found i32
| |_____^ expected `()`, found `i32`
|
= note: expected type `()`
found type `i32`
= note: `if` expressions without `else` evaluate to `()`
= help: consider adding an `else` block that evaluates to the expected type

Expand Down
15 changes: 3 additions & 12 deletions src/test/ui/proc-macro/span-preservation.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ error[E0308]: mismatched types
LL | extern fn bar() {
| - possibly return type missing here?
LL | 0
| ^ expected (), found integer
|
= note: expected type `()`
found type `{integer}`
| ^ expected `()`, found integer

error[E0308]: mismatched types
--> $DIR/span-preservation.rs:44:5
Expand All @@ -52,21 +49,15 @@ error[E0308]: mismatched types
LL | extern "Rust" fn rust_abi() {
| - possibly return type missing here?
LL | 0
| ^ expected (), found integer
|
= note: expected type `()`
found type `{integer}`
| ^ expected `()`, found integer

error[E0308]: mismatched types
--> $DIR/span-preservation.rs:54:5
|
LL | extern "\x43" fn c_abi_escaped() {
| - possibly return type missing here?
LL | 0
| ^ expected (), found integer
|
= note: expected type `()`
found type `{integer}`
| ^ expected `()`, found integer

error: aborting due to 8 previous errors

Expand Down
24 changes: 0 additions & 24 deletions src/test/ui/unboxed-closures/issue-30904.stderr

This file was deleted.

0 comments on commit 468722b

Please sign in to comment.