mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat: verify unused bits on types derived with Compact (#11131)
This commit is contained in:
@ -245,6 +245,10 @@ mod tests {
|
||||
pub const fn bitflag_encoded_bytes() -> usize {
|
||||
2u8 as usize
|
||||
}
|
||||
#[doc = "Unused bits for new fields by [`TestStructFlags`]"]
|
||||
pub const fn bitflag_unused_bits() -> usize {
|
||||
1u8 as usize
|
||||
}
|
||||
}
|
||||
|
||||
pub use TestStruct_flags::TestStructFlags;
|
||||
|
||||
Reference in New Issue
Block a user