aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/immutable_var.out
blob: 012ef94dc3242bf68dc61586181b399b7c0d58dc (plain)
1
2
3
4
5
6
7
vlib/v/checker/tests/immutable_var.vv:3:2: error: `a` is immutable, declare it with `mut` to make it mutable
    1 | fn main() {
    2 |     a := 1
    3 |     a = 2
      |     ^
    4 |     _ = a
    5 | }