Skip to content

Commit 3c26d34

Browse files
committed
fix rebase
1 parent 00150b7 commit 3c26d34

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

tests/ui/never_type/unused_trait_in_never_pattern_body.stderr

+12-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,18 @@ LL | |
1818
LL | | use std::ops::Add;
1919
LL | | 0.add(1)
2020
LL | | },
21-
| | ^
22-
| | |
23-
| |_________this will never be executed
24-
| help: remove this expression
21+
| |_________^ this will never be executed
22+
|
23+
help: remove the match arm expression
24+
|
25+
LL - ! => || {
26+
LL -
27+
LL -
28+
LL - use std::ops::Add;
29+
LL - 0.add(1)
30+
LL - },
31+
LL + !,
32+
|
2533

2634
error: mismatched types
2735
--> $DIR/unused_trait_in_never_pattern_body.rs:3:9

0 commit comments

Comments
 (0)