summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2008-non-exhaustive/uninhabited/issue-65157-repeated-match-arm.stderr
blob: f39e6ee298544efe8bbd227da2facb51d066b732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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