-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Put spans in all parsed attributes #142813
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 to the CTFE machinery Some changes occurred to constck cc @fee1-dead Some changes occurred in compiler/rustc_passes/src/check_attr.rs Some changes occurred in compiler/rustc_codegen_ssa Some changes occurred in compiler/rustc_attr_data_structures Some changes occurred in compiler/rustc_attr_parsing Some changes occurred in compiler/rustc_codegen_ssa/src/codegen_attrs.rs |
I'm very much against this. About to head to bed, but I don't think this is the best way forward. Will say more tomorrow |
I don't disagree but if we don't do something then that ICE is going to keep popping up. |
This comment has been minimized.
This comment has been minimized.
The job Click to see the possible cause of the failure (guessed by this bot)
|
☔ The latest upstream changes (presumably #142794) made this pull request unmergeable. Please resolve the merge conflicts. |
mhm, I had somewhat accepted that that's an ICE that's going to sporadically appear and when it does we'll locally fix it. For example, in the case of that issue we just also convert track_caller to a new attribute |
alright, closing this one. Feel free to file just the field change on its own! |
Fixes #142783
Alternative to #142552.
This PR is more wordy than it strictly has to be because it also changes the
AttributeKind
enum to have exclusively named fields.(my ocd cannot stand enums with mixed named and tuple fields)cc @GrigorenkoPV
r? @jdonszelmann