Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of item attributes #113

Closed
clarfonthey opened this issue Jan 5, 2018 · 1 comment
Closed

Order of item attributes #113

clarfonthey opened this issue Jan 5, 2018 · 1 comment

Comments

@clarfonthey
Copy link

I'm honestly not sure of this one and it was a weird thing to think about when I did rust-lang/rust#47122.

Right now we have multiple attributes for derive, repr, non_exhaustive, must_use, etc. Should these have a defined order?

@nrc
Copy link
Member

nrc commented Jan 9, 2018

Order of attributes can be significant, so a tool can't change the ordering.

@nrc nrc closed this as completed Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants