We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00150b7 commit 3c26d34Copy full SHA for 3c26d34
tests/ui/never_type/unused_trait_in_never_pattern_body.stderr
@@ -18,10 +18,18 @@ LL | |
18
LL | | use std::ops::Add;
19
LL | | 0.add(1)
20
LL | | },
21
- | | ^
22
- | | |
23
- | |_________this will never be executed
24
- | help: remove this expression
+ | |_________^ this will never be executed
+ |
+help: remove the match arm expression
25
+LL - ! => || {
26
+LL -
27
28
+LL - use std::ops::Add;
29
+LL - 0.add(1)
30
+LL - },
31
+LL + !,
32
33
34
error: mismatched types
35
--> $DIR/unused_trait_in_never_pattern_body.rs:3:9
0 commit comments