-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Implement #[cfg]
in where
clauses
#132388
base: master
Are you sure you want to change the base?
Conversation
HIR ty lowering was modified cc @fmease Changes to the size of AST and/or HIR nodes. cc @nnethercote |
6b5f780
to
416f1eb
Compare
This comment has been minimized.
This comment has been minimized.
416f1eb
to
2aa303c
Compare
Some changes occurred in src/tools/rustfmt cc @rust-lang/rustfmt Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @frank-king for the work. I haven't looked deeply into the parser code yet, I need to familiarize myself with it first.
#[cfg]
in where
clauses#[cfg]
in where
clauses
2aa303c
to
f3192a5
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #132586) made this pull request unmergeable. Please resolve the merge conflicts. |
f3192a5
to
1a8208c
Compare
This comment has been minimized.
This comment has been minimized.
1a8208c
to
db4c4fd
Compare
This PR implements #115590, which supports
#[cfg]
attributes inwhere
clauses.The biggest change is, that it adds
AttrsVec
andNodeId
to theast::WherePredicate
andHirId
to thehir::WherePredicate
.