Open popematt opened 6 months ago
https://github.com/amazon-ion/ion-schema-rust/blob/34eec9e7c9ae7fb097f6f390119a4d06d4d1c3f0/ion-schema/src/violation.rs#L92-L116
ViolationCode should be marked as #[non_exhaustive] so that new violation codes can be added if/when new versions of ISL add new constraints.
ViolationCode
#[non_exhaustive]
https://github.com/amazon-ion/ion-schema-rust/blob/34eec9e7c9ae7fb097f6f390119a4d06d4d1c3f0/ion-schema/src/violation.rs#L92-L116
ViolationCode
should be marked as#[non_exhaustive]
so that new violation codes can be added if/when new versions of ISL add new constraints.