2019-10-14 12:55:32 -05:00
|
|
|
error: unreachable pattern
|
2019-09-20 15:09:39 -05:00
|
|
|
--> $DIR/issue-65157-repeated-match-arm.rs:15:9
|
2019-10-14 12:55:32 -05:00
|
|
|
|
|
|
|
|
LL | PartiallyInhabitedVariants::Struct { .. } => {},
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2019-10-14 12:55:32 -05:00
|
|
|
--> $DIR/issue-65157-repeated-match-arm.rs:2:9
|
|
|
|
|
|
|
|
|
LL | #![deny(unreachable_patterns)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2019-10-14 12:55:32 -05:00
|
|
|
|