mirror of
https://github.com/openharmony/third_party_rust_bitflags.git
synced 2026-07-19 20:03:32 -04:00
Merge #173
173: Put the user-provided attributes first r=Dylan-DPC a=nox `#[derive]` should always come after any proc macro attribute. Co-authored-by: Anthony Ramine <n.oxyde@gmail.com>
This commit is contained in:
+1
-1
@@ -398,8 +398,8 @@ macro_rules! __bitflags {
|
||||
)+
|
||||
}
|
||||
) => {
|
||||
#[derive(Copy, PartialEq, Eq, Clone, PartialOrd, Ord, Hash)]
|
||||
$(#[$outer])*
|
||||
#[derive(Copy, PartialEq, Eq, Clone, PartialOrd, Ord, Hash)]
|
||||
$($vis)* struct $BitFlags {
|
||||
bits: $T,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user