aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/immutable_array_struct_shift.out
blob: b9a25fc5d56b9c4d07452c732acc00a654ee588b (plain)
1
2
3
4
5
6
vlib/v/checker/tests/immutable_array_struct_shift.vv:8:2: error: `a` is immutable, declare it with `mut` to make it mutable
    6 | fn main() {
    7 |     a := []Aaa{}
    8 |     a[0].i << 3
      |     ^
    9 | }