-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Port #[instruction_set] to attribute parser
#150193
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: main
Are you sure you want to change the base?
Conversation
|
Some changes occurred in compiler/rustc_passes/src/check_attr.rs Some changes occurred in compiler/rustc_hir/src/attrs Some changes occurred in compiler/rustc_attr_parsing |
This comment has been minimized.
This comment has been minimized.
|
Reminder, once the PR becomes ready for a review, use |
2815243 to
25f9a74
Compare
|
@rustbot ready |
25f9a74 to
6fd2c64
Compare
6fd2c64 to
d42c32b
Compare
|
@bors r+ rollup |
|
@bors r- |
d42c32b to
0516456
Compare
This comment has been minimized.
This comment has been minimized.
cbd7779 to
562f05d
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
562f05d to
b61e9d9
Compare
b61e9d9 to
1bddee2
Compare
This comment has been minimized.
This comment has been minimized.
1bddee2 to
e3a18d7
Compare
|
The job Click to see the possible cause of the failure (guessed by this bot)For more information how to resolve CI failures of this job, visit this link. |
Please note the test changes, and deprecation of
E0778andE0779In my opinion, all errors related to this attribute are improved I think, except for if you have
#[instruction_set(arm::)]in which case there's anerror: expected identifier, found <eof>, which is quite unhelpful I think, but this seems to be a limitation of the general attribute parsing flowr? @JonathanBrouwer