enumflags
enumflags copied to clipboard
The from_bitflag method generates warnings about unused methods
Since it's defined directly on the type rather than a trait, the compiler will warn about it being unused. Can it be turned off?
This warning pops up in the enumflags test suite, for example.
Sorry for the late reply. I temporarily suppressed the warning, but the function is also a bit misnamed. I think I will expose an iterator over the bitfields and remove from_bitflagall together.