-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Reduce precedence of expressions that have an outer attr #134661
base: master
Are you sure you want to change the base?
Conversation
r? @fee1-dead rustbot has assigned @fee1-dead. Use |
This comment has been minimized.
This comment has been minimized.
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
r? compiler |
☔ The latest upstream changes (presumably #134788) made this pull request unmergeable. Please resolve the merge conflicts. |
Rebased to resolve conflict. |
I'm going to look at this in a few hours. |
Previously,
-Zunpretty=expanded
would expand this program as follows:This is not the correct expansion. The correct output would have
(#[allow(deprecated)] thing).field
with the attribute applying only tothing
, not tothing.field
.