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

Closed
opened 2023-03-18 10:13:15 -05:00 by CryZe · 3 comments
CryZe commented 2023-03-18 10:13:15 -05:00 (Migrated from github.com)

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

This doesn't seem intentional at least and isn't mentioned in the changelog.
sollyucko commented 2023-03-18 11:36:07 -05:00 (Migrated from github.com)

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

In what way are they not supported? What error message do they give? Or is there some other problem with them?
CryZe commented 2023-03-18 11:42:49 -05:00 (Migrated from github.com)

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

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 commented 2023-03-18 21:08:33 -05:00 (Migrated from github.com)

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

Thanks for pointing this out @CryZe. This is a total oversight, they should implement the `Bits` trait.
Sign in to join this conversation.
No labels
bug
good first issue
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-bitflags/bitflags#319
No description provided.