raz / test / msg / StringToSlice.err

5 lines · 225 B · raw · history · last change 4402a682

1conform/err/StringToSlice.raz:8:10: error: a string is a []const U8, not []U8
2 8 | s := "abc";
3 | ^^^^^
4help: its bytes are constant: take a []const U8 where they are only read, or copy them
5raz: 1 error