raz / test / msg / ConstVarArg.err

5 lines · 257 B · raw · history · last change b13f87f8

1conform/err/ConstVarArg.raz:6:7: error: r is only read here, and can't be changed
2 6 | g(r);
3 | ^
4help: a const parameter, a constant, and the names a match gives their fields, are only read: take a var parameter to change it
5raz: 1 error