15 lines
405 B
Plaintext
15 lines
405 B
Plaintext
error: unreachable pattern
|
|
--> $DIR/issue-65157-repeated-match-arm.rs:15:9
|
|
|
|
|
LL | PartiallyInhabitedVariants::Struct { .. } => {},
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-65157-repeated-match-arm.rs:2:9
|
|
|
|
|
LL | #![deny(unreachable_patterns)]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|