summaryrefslogtreecommitdiffstats
path: root/src/test/ui/reachable/unreachable-arm.stderr
blob: 1cbea8288d465af213a291b23a9dd85e88b0951e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unreachable pattern
  --> $DIR/unreachable-arm.rs:11:9
   |
LL |         Foo::A(_, 1) => { }
   |         ^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unreachable-arm.rs:4:9
   |
LL | #![deny(unreachable_patterns)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error