@@ -25,15 +25,71 @@ LL | !
25
25
= help: add `#![feature(never_patterns)]` to the crate attributes to enable
26
26
27
27
error[E0658]: `!` patterns are experimental
28
- --> $DIR/feature-gate-never_patterns.rs:24:13
28
+ --> $DIR/feature-gate-never_patterns.rs:15:13
29
+ |
30
+ LL | !
31
+ | ^
32
+ |
33
+ = note: see issue #118155 <https://github.com/rust-lang/rust/issues/118155> for more information
34
+ = help: add `#![feature(never_patterns)]` to the crate attributes to enable
35
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
36
+
37
+ error[E0658]: `!` patterns are experimental
38
+ --> $DIR/feature-gate-never_patterns.rs:22:13
39
+ |
40
+ LL | !
41
+ | ^
42
+ |
43
+ = note: see issue #118155 <https://github.com/rust-lang/rust/issues/118155> for more information
44
+ = help: add `#![feature(never_patterns)]` to the crate attributes to enable
45
+
46
+ error[E0658]: `!` patterns are experimental
47
+ --> $DIR/feature-gate-never_patterns.rs:22:13
48
+ |
49
+ LL | !
50
+ | ^
51
+ |
52
+ = note: see issue #118155 <https://github.com/rust-lang/rust/issues/118155> for more information
53
+ = help: add `#![feature(never_patterns)]` to the crate attributes to enable
54
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
55
+
56
+ error[E0658]: `!` patterns are experimental
57
+ --> $DIR/feature-gate-never_patterns.rs:28:13
29
58
|
30
59
LL | ! => {}
31
60
| ^
32
61
|
33
62
= note: see issue #118155 <https://github.com/rust-lang/rust/issues/118155> for more information
34
63
= help: add `#![feature(never_patterns)]` to the crate attributes to enable
35
64
36
- error: aborting due to 4 previous errors
65
+ error: `match` arm with no body
66
+ --> $DIR/feature-gate-never_patterns.rs:36:9
67
+ |
68
+ LL | Some(_)
69
+ | ^^^^^^^- help: add a body after the pattern: `=> todo!(),`
70
+
71
+ error[E0658]: `!` patterns are experimental
72
+ --> $DIR/feature-gate-never_patterns.rs:41:13
73
+ |
74
+ LL | Err(!)
75
+ | ^
76
+ |
77
+ = note: see issue #118155 <https://github.com/rust-lang/rust/issues/118155> for more information
78
+ = help: add `#![feature(never_patterns)]` to the crate attributes to enable
79
+
80
+ error: `match` arm with no body
81
+ --> $DIR/feature-gate-never_patterns.rs:41:9
82
+ |
83
+ LL | Err(!)
84
+ | ^^^^^^- help: add a body after the pattern: `=> todo!(),`
85
+
86
+ error: `match` arm with no body
87
+ --> $DIR/feature-gate-never_patterns.rs:50:9
88
+ |
89
+ LL | Some(_)
90
+ | ^^^^^^^- help: add a body after the pattern: `=> todo!(),`
91
+
92
+ error: aborting due to 11 previous errors
37
93
38
94
Some errors have detailed explanations: E0408, E0658.
39
95
For more information about an error, try `rustc --explain E0408`.
0 commit comments