| 1 | vlib/v/checker/tests/invalid_mut.vv:3:5: error: the `mut` keyword is invalid here |
| 2 | 1 | fn main() { |
| 3 | 2 | mut x := 0 |
| 4 | 3 | if mut x == 0 { |
| 5 | | ~~~ |
| 6 | 4 | println(true) |
| 7 | 5 | } |
| 8 | vlib/v/checker/tests/invalid_mut.vv:6:10: error: the `mut` keyword is invalid here |
| 9 | 4 | println(true) |
| 10 | 5 | } |
| 11 | 6 | if 0 == mut x { |
| 12 | | ~~~ |
| 13 | 7 | println(true) |
| 14 | 8 | } |
| 15 |