Skip to content

feat!: mark Rule and Condition non_exhaustive - #293

Merged
Teakowa merged 1 commit into
mainfrom
issue-252-non-exhaustive
Sep 25, 2026
Merged

Teakowa merged 1 commit into
mainfrom
issue-252-non-exhaustive

Conversation

@e54-bot

@e54-bot e54-bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Marks Rule and Condition #[non_exhaustive] as required by the #252 comment (ADR-0013), so later mapping/metadata fields stay non-breaking in 1.x.

Downstream: opy-rs builds Rule { .. } literals at 7 sites; these migrate to Rule::new in the opy-rs 1.0 candidate work. Breaking change for pre-1.0 semver-check.

Verification: cargo clippy -D warnings, cargo test --workspace (354 passed).

Refs #252 (umbrella; downstream verification opy-rs#359 and wright#401 remain).

Keep later source-mapping and metadata fields non-breaking after 1.0 per ADR-0013. Downstream struct-literal sites migrate to Rule::new (opy-rs#359).

Refs #252

@Teakowa Teakowa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Teakowa
Teakowa merged commit c365fdc into main Sep 25, 2026
5 checks passed
@Teakowa
Teakowa deleted the issue-252-non-exhaustive branch September 25, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants