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

usize / isize aren't supported anymore in v2.0 #319

Closed
CryZe opened this issue Mar 18, 2023 · 3 comments · Fixed by #321
Closed

usize / isize aren't supported anymore in v2.0 #319

CryZe opened this issue Mar 18, 2023 · 3 comments · Fixed by #321
Labels

Comments

@CryZe
Copy link

CryZe commented Mar 18, 2023

This doesn't seem intentional at least and isn't mentioned in the changelog.

@sollyucko
Copy link

In what way are they not supported? What error message do they give? Or is there some other problem with them?

@CryZe
Copy link
Author

CryZe commented Mar 18, 2023

They don't implement the new Bits trait, which is required to use bitflags: https://github.com/bitflags/bitflags/blob/main/src/traits.rs#L135-L141

@KodrAus
Copy link
Member

KodrAus commented Mar 19, 2023

Thanks for pointing this out @CryZe. This is a total oversight, they should implement the Bits trait.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants