summary refs log tree commit diff
path: root/src/test/ui/match/match-vec-fixed.stderr
blob: f4b426bea325cc0e887aec7eaac45368d88d3ad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: unreachable pattern
  --> $DIR/match-vec-fixed.rs:7:9
   |
LL |         [_, _, _] => {} //~ ERROR unreachable pattern
   |         ^^^^^^^^^
   |
note: lint level defined here
  --> $DIR/match-vec-fixed.rs:1:9
   |
LL | #![deny(unreachable_patterns)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: unreachable pattern
  --> $DIR/match-vec-fixed.rs:11:9
   |
LL |         [_, 1, _] => {} //~ ERROR unreachable pattern
   |         ^^^^^^^^^

error: aborting due to 2 previous errors