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

Fix Self in flags value expressions #355

Merged
merged 5 commits into from
May 17, 2023
Merged

Conversation

KodrAus
Copy link
Member

@KodrAus KodrAus commented May 17, 2023

Closes #353
Closes #356
Closes #357

If a flags type refers to Self in its definition of flags constants then it may fail to compile because we generate those constants on both the user-facing type and the internally generated one.

I've also rolled clippy in CI into this PR and fixed up its associated warnings.

@KodrAus KodrAus marked this pull request as ready for review May 17, 2023 14:15
@KodrAus KodrAus merged commit 32d406a into bitflags:main May 17, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant