aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/for_match_err.out
blob: 9c90a9e474185159d7adc8512ece2f904bb24f97 (plain)
1
2
3
4
5
6
7
vlib/v/checker/tests/for_match_err.vv:3:7: error: cannot use `match` in `for` loop
    1 | fn main() {
    2 |   mut a := 2
    3 |   for match a {
      |       ~~~~~
    4 |         2 {
    5 |             println('a == 2')