note: `UnstableEnum` defined here
--> $DIR/auxiliary/unstable.rs:9:5
|
-LL | / pub enum UnstableEnum {
-LL | | #[stable(feature = "stable_test_feature", since = "1.0.0")]
-LL | | Stable,
-LL | | #[stable(feature = "stable_test_feature", since = "1.0.0")]
-LL | | Stable2,
- | | ^^^^^^^ not covered
-LL | | #[unstable(feature = "unstable_test_feature", issue = "none")]
-LL | | Unstable,
-LL | | }
- | |_-
+LL | pub enum UnstableEnum {
+ | ---------------------
+...
+LL | Stable2,
+ | ^^^^^^^ not covered
= note: the matched value is of type `UnstableEnum`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
|
note: `UnstableEnum` defined here
--> $DIR/auxiliary/unstable.rs:5:1
|
-LL | / pub enum UnstableEnum {
-LL | | #[stable(feature = "stable_test_feature", since = "1.0.0")]
-LL | | Stable,
-LL | | #[stable(feature = "stable_test_feature", since = "1.0.0")]
-... |
-LL | | Unstable,
-LL | | }
- | |_^
+LL | pub enum UnstableEnum {
+ | ^^^^^^^^^^^^^^^^^^^^^
= note: the matched value is of type `UnstableEnum`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|