modular-bitfield icon indicating copy to clipboard operation
modular-bitfield copied to clipboard

#[repr(...)] for unfilled bitfields?

Open bluecube opened this issue 3 years ago • 0 comments

Specifying #[repr(...)] on an unfilled bitfield results in error: encountered conflicting #[repr(u16)]andfilled = false parameters. It would make sense to accept this combination and generate TryFrom instead of From.

bluecube avatar Oct 18 '22 14:10 bluecube