mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-06 05:33:59 +00:00
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
|
|
|