Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ShaderSource #[non_exhaustive] #2312

Merged
merged 1 commit into from
Dec 22, 2021

Conversation

fintelia
Copy link
Contributor

Connections
N/A

Description
Users should not exhaustively match on ShaderSource due to variants that are only exposed via feature flags. This patch ensures that they don't do so accidentally.

Testing
None

@kvark kvark merged commit a3b9fc3 into gfx-rs:master Dec 22, 2021
cwfitzgerald pushed a commit that referenced this pull request Oct 25, 2023
* error on param redefinition

* also fix #2312
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