pub(crate) fn debug_flags<Value: Into<u64> + Copy>( f: &mut Formatter<'_>, known: &[(Value, &'static str)], value: Value ) -> Result