Bitflags reverses order of multiline doc comments #344
Labels
No labels
bug
good first issue
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-bitflags/bitflags#344
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When compiling code like
The doc-comments order is reversed on compile, causing issues with generated docs and the doctest.
This bug only occurs on bitflags 2.2.0 and not on earlier versions
This should be trivially fixed by swapping the order attributes are "pushed" in
__declare_bitflags. We've already yanked2.2.0because it requires a lot more recursion, but will keep this open to make sure any new approach doesn't reverse the order of attributes.