-
Notifications
You must be signed in to change notification settings - Fork 13.3k
bitflags!
uses associated constants
#24921
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
Conversation
Now that #24888 has landed, could you rebase this as well? |
5e3e3a5
to
8c58fe1
Compare
Fascinating! Were the changes from constants like |
Done! |
@alexcrichton stylistic :) |
It's probably a bit of an anti-pattern to have a constant that represents the empty set of flags, since |
Yeah it looks like there's a number of stylistic things that may want to be tweaked now that the flags are scoped. For example all of the LLVM attributes end with |
Conflicts: src/librustc/lib.rs
Depends on #24888. r? @alexcrichton