Open sfackler opened 6 years ago
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_bitflag
all together.
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?