Add methods to get the known/unknown bits from a flags value #473

Merged
WaterWhisperer merged 3 commits from feat/get-unknown-bits into main 2026-02-13 16:06:35 -06:00
WaterWhisperer commented 2026-02-11 23:17:55 -06:00 (Migrated from github.com)

Fixes: #442

Fixes: #442
KodrAus commented 2026-02-12 04:13:18 -06:00 (Migrated from github.com)

Thanks for the PR @WaterWhisperer! Would it be possible to add some tests to the src/tests directory that covers this?

Thanks for the PR @WaterWhisperer! Would it be possible to add some tests [to the `src/tests` directory](https://github.com/bitflags/bitflags/tree/main/src/tests) that covers this?
WaterWhisperer commented 2026-02-12 05:49:23 -06:00 (Migrated from github.com)

Thanks for the PR @WaterWhisperer! Would it be possible to add some tests to the src/tests directory that covers this?

Sure

> Thanks for the PR @WaterWhisperer! Would it be possible to add some tests [to the `src/tests` directory](https://github.com/bitflags/bitflags/tree/main/src/tests) that covers this? Sure
KodrAus commented 2026-02-12 15:19:34 -06:00 (Migrated from github.com)

Feel free to ignore the Miri failure there; it's related to an issue in the current Rust nightly toolchain.

Feel free to ignore the Miri failure there; it's related to an issue in the current Rust nightly toolchain.
Sign in to join this conversation.
No reviewers
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!473
No description provided.