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:
bors[bot]
2019-03-14 16:32:34 +00:00
+1 -1
View File
@@ -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,
}