summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/match-vec-mismatch-2.stderr
blob: 5247bea62ceb9502f04da33975fdf04f8f24e56a (plain)
1
2
3
4
5
6
7
8
9
error[E0529]: expected an array or slice, found `()`
  --> $DIR/match-vec-mismatch-2.rs:3:9
   |
LL |         [()] => { }
   |         ^^^^ pattern cannot match with input type `()`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0529`.