Skip to content

Commit 468722b

Browse files
committed
fix rebase
1 parent b3517cd commit 468722b

File tree

3 files changed

+4
-39
lines changed

3 files changed

+4
-39
lines changed

src/test/ui/async-await/issue-66387-if-without-else.stderr

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ error[E0317]: if may be missing an else clause
44
LL | / if true {
55
LL | | return 0;
66
LL | | }
7-
| |_____^ expected (), found i32
7+
| |_____^ expected `()`, found `i32`
88
|
9-
= note: expected type `()`
10-
found type `i32`
119
= note: `if` expressions without `else` evaluate to `()`
1210
= help: consider adding an `else` block that evaluates to the expected type
1311

src/test/ui/proc-macro/span-preservation.stderr

+3-12
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ error[E0308]: mismatched types
3333
LL | extern fn bar() {
3434
| - possibly return type missing here?
3535
LL | 0
36-
| ^ expected (), found integer
37-
|
38-
= note: expected type `()`
39-
found type `{integer}`
36+
| ^ expected `()`, found integer
4037

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

6054
error[E0308]: mismatched types
6155
--> $DIR/span-preservation.rs:54:5
6256
|
6357
LL | extern "\x43" fn c_abi_escaped() {
6458
| - possibly return type missing here?
6559
LL | 0
66-
| ^ expected (), found integer
67-
|
68-
= note: expected type `()`
69-
found type `{integer}`
60+
| ^ expected `()`, found integer
7061

7162
error: aborting due to 8 previous errors
7263

src/test/ui/unboxed-closures/issue-30904.stderr

-24
This file was deleted.

0 commit comments

Comments
 (0)