Skip to content

Commit

Permalink
Merge #173
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bors[bot] and nox committed Mar 14, 2019
2 parents bb53c19 + 5580478 commit 766297e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -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,
}
Expand Down

0 comments on commit 766297e

Please sign in to comment.