raz / test / msg / ConstSliceToSlice.err

8 lines · 313 B · raw · history · last change b5e76eab

1conform/err/ConstSliceToSlice.raz:13:10: error: can't use []const U8 as []U8
2 13 | fill(r);
3 | ^
4help: its elements are only read, and a []T could write them
5conform/err/ConstSliceToSlice.raz:5:11: note: it goes to s, declared here
6 5 | proc fill(s: []U8);
7 | ^
8raz: 1 error