Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Move invariant bit from Binding::Builtin to Builtin::Position. #1822

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

jimblandy
Copy link
Member

Use the type system to enforce the rule that the invariant attribute may only appear on Position builtins.

Draft because it's dependent on #1821, but also because I want to look it over with fresh eyes tomorrow.

@jimblandy jimblandy requested a review from teoxoy April 12, 2022 20:08
Use the type system to enforce the rule that the invariant attribute
may only appear on `Position` builtins.
@jimblandy jimblandy force-pushed the builtin-invariant-flag branch from 013af77 to 89b7788 Compare April 12, 2022 20:26
@jimblandy jimblandy marked this pull request as ready for review April 13, 2022 21:56
@jimblandy jimblandy merged commit 170faab into gfx-rs:master Apr 13, 2022
@jimblandy jimblandy deleted the builtin-invariant-flag branch April 13, 2022 21:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants