raz / test / msg / ConstSliceWrite.err

5 lines · 229 B · raw · history · last change b5e76eab

1conform/err/ConstSliceWrite.raz:6:5: error: s[0] is read through a []const slice, and can't be changed
2 6 | s[0] := 0;
3 | ^^^^
4help: a []const slice's elements are only read: write them through a []T
5raz: 1 error