raz / test / msg / OffsetVariant.err

5 lines · 250 B · raw · history · last change 32b1a75b

1conform/err/OffsetVariant.raz:3:19: error: OFFSET needs a record type, found Shape
2 3 | const At = OFFSET(Shape, circle);
3 | ^^^^^
4help: a variant's cases share one place, so have no offset or size of their own
5raz: 1 error