-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Port #[used]
to new attribute parsing infrastructure
#142818
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
base: master
Are you sure you want to change the base?
Conversation
|
Some changes occurred in compiler/rustc_attr_parsing Some changes occurred in compiler/rustc_codegen_ssa Some changes occurred in compiler/rustc_codegen_ssa/src/codegen_attrs.rs Some changes occurred in compiler/rustc_attr_data_structures Some changes occurred in compiler/rustc_passes/src/check_attr.rs |
44fa5f0
to
073e2c6
Compare
073e2c6
to
468dd68
Compare
@rustbot author |
Reminder, once the PR becomes ready for a review, use |
☔ The latest upstream changes (presumably #142826) made this pull request unmergeable. Please resolve the merge conflicts. |
468dd68
to
674be35
Compare
@rustbot ready |
e70cbef
to
30d851d
Compare
Rebased to solve merge conflicts |
☔ The latest upstream changes (presumably #142878) made this pull request unmergeable. Please resolve the merge conflicts. |
30d851d
to
be02b70
Compare
Signed-off-by: Jonathan Brouwer <[email protected]>
be02b70
to
0031aab
Compare
just to be clear @JonathanBrouwer, is the behavior right now exactly the same as before with regards to errors and which attribute applies in case of duplicates or not? |
@jdonszelmann When multiple different attributes are applied the behaviour has changed. This is fine because What has changed:
Before: Error, "compiler and linker can't be used together". This is a wrong error since
Before: No error, ratcheting behaviour so "linker " is used
Before: Error |
Ports
used
to the new attribute parsing infrastructure for #131229 (comment)r? @jdonszelmann