-
-
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
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.
|
💔 Test failed - checks-actions |
|
@rustbot author |
8df47f0 to
a355714
Compare
|
@bors try jobs=arm-android |
This comment has been minimized.
This comment has been minimized.
Port `#[instruction_set]` to attribute parser try-job: arm-android
This comment has been minimized.
This comment has been minimized.
a355714 to
a95d41d
Compare
This comment has been minimized.
This comment has been minimized.
a95d41d to
acd6ba4
Compare
|
@bors try jobs=arm-android |
This comment has been minimized.
This comment has been minimized.
Port `#[instruction_set]` to attribute parser try-job: arm-android
|
@bors r+ rollup=iffy |
Rollup merge of #150193 - Bryntet:parse_instruction_set, r=JonathanBrouwer Port `#[instruction_set]` to attribute parser Please note the test changes, and deprecation of `E0778` and `E0779` In 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 an `error: expected identifier, found <eof>`, which is quite unhelpful I think, but this seems to be a limitation of the general attribute parsing flow r? `@JonathanBrouwer`
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