Remove #[repr(transparent)]

This commit is contained in:
Taiki Endo 2021-08-12 08:27:04 +09:00
parent 971cf37964
commit 1536a2fdbe

View File

@ -342,7 +342,6 @@ macro_rules! bitflags {
$($t:tt)*
) => {
$(#[$outer])*
#[repr(transparent)]
#[derive(Copy, PartialEq, Eq, Clone, PartialOrd, Ord, Hash)]
$vis struct $BitFlags {
bits: $T,