raz / test / msg / ViewSliceOf.err

5 lines · 233 B · raw · history · last change f784f531

1conform/err/ViewSliceOf.raz:5:10: error: can't make a slice of a view
2 5 | s := mem[0].([8]U8)[0..4];
3 | ^^^^^^^^^^^^^^
4help: a view has no address, since it may be misaligned: copy it to a variable
5raz: 1 error