Recover on attribute in use tree#155254
Conversation
This comment has been minimized.
This comment has been minimized.
291ff75 to
290c04c
Compare
290c04c to
83f6ae9
Compare
|
@fmease would you be ok with me assigning this PR to you? (once I have re-reviewed it again) |
|
Sure! :) |
83f6ae9 to
0e53906
Compare
There was a problem hiding this comment.
The changes in the file are needed because the closure passed to span_extend_while in item.rs mutably borrows comma_reached.
|
thank you! r? fmease |
|
Requested reviewer is already assigned to this pull request. Please choose another assignee. |
|
The parser was modified, potentially altering the grammar of (stable) Rust cc @fmease |
|
hi @fmease, thank you infinitely for your review. you put a lot of care into these and i really really appreciate all your explanations <3 i'll fix everything once the all hands is over and i have some quiet time, but I still wanted to say thanks as soon as possible :) thank you again! |
0e53906 to
b8a59e1
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. |
This comment has been minimized.
This comment has been minimized.
b8a59e1 to
e73c92c
Compare
This comment has been minimized.
This comment has been minimized.
e73c92c to
7c97022
Compare
|
☔ The latest upstream changes (presumably #159170) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
View all comments
Renders as:

This requires passing two more arguments to
Parser::parse_use_treeand I'm not super happy about it. I did consider adding more context toParserinstead, but that did not sound like a good idea. Happy to rework my code to make it less ugly :)I am also not very happy that the deletion shows up as a green
~in the suggestion. I tried very hard to make it render properly but failed. I am not sure it's actually possible but would love to be proven wrong hehe