Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 15fdccc

Browse files
committed
Update 'match-prev-arm-needing-semi'
1 parent ad47fb1 commit 15fdccc

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/test/ui/suggestions/match-prev-arm-needing-semi.stderr

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,10 @@ help: consider `await`ing on the `Future`
2424
|
2525
LL | false => async_dummy().await,
2626
| ^^^^^^
27-
help: consider removing this semicolon and boxing the expressions
28-
|
29-
LL | Box::new(async_dummy())
30-
LL |
31-
LL | }
32-
LL | false => Box::new(async_dummy()),
27+
help: consider removing this semicolon
3328
|
29+
LL | async_dummy()
30+
| --
3431

3532
error[E0308]: `match` arms have incompatible types
3633
--> $DIR/match-prev-arm-needing-semi.rs:39:18

0 commit comments

Comments
 (0)