Skip to content

Refactor attribute parsing to improve ergonomics and some diagnostics #145507

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jdonszelmann
Copy link
Contributor

No description provided.

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 16, 2025
@jdonszelmann jdonszelmann marked this pull request as ready for review August 16, 2025 17:51
@rustbot
Copy link
Collaborator

rustbot commented Aug 16, 2025

r? @davidtwco

rustbot has assigned @davidtwco.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 16, 2025
@rustbot
Copy link
Collaborator

rustbot commented Aug 16, 2025

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

@rust-lang rust-lang deleted a comment from rustbot Aug 16, 2025
@rust-log-analyzer

This comment has been minimized.

@jdonszelmann jdonszelmann force-pushed the refactor-attr-parsing branch from 920a37c to e5c14c3 Compare August 18, 2025 10:40
@jdonszelmann
Copy link
Contributor Author

@rustbot review

@davidtwco
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Aug 18, 2025

📌 Commit e5c14c3 has been approved by davidtwco

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 18, 2025
@jieyouxu
Copy link
Member

Merge conflict.
@bors r-

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 19, 2025
@jdonszelmann jdonszelmann force-pushed the refactor-attr-parsing branch from e5c14c3 to a59705e Compare August 19, 2025 11:47
@rustbot

This comment has been minimized.

@jdonszelmann
Copy link
Contributor Author

@rustbot review

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 19, 2025
@jdonszelmann jdonszelmann force-pushed the refactor-attr-parsing branch from a59705e to 0d2b46c Compare August 19, 2025 11:52
@jdonszelmann jdonszelmann force-pushed the refactor-attr-parsing branch from 0d2b46c to 4791dc5 Compare August 19, 2025 11:57
@jdonszelmann
Copy link
Contributor Author

the rangediff shows a test output changed related to attrs on foreign types which got introduced very recently, hence the conflict. That's why I pushed again to fix that, that was unintentional but the current version is good in that regard.

@jdonszelmann
Copy link
Contributor Author

jdonszelmann commented Aug 19, 2025

i.e. the rangediff shows this bit as removed but I added it back in afterwards:
image

@bors
Copy link
Collaborator

bors commented Aug 20, 2025

☔ The latest upstream changes (presumably #145600) made this pull request unmergeable. Please resolve the merge conflicts.

@jdonszelmann jdonszelmann force-pushed the refactor-attr-parsing branch from 4791dc5 to e1188c4 Compare August 20, 2025 13:39
@rustbot
Copy link
Collaborator

rustbot commented Aug 20, 2025

This PR was rebased onto a different master 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.

@davidtwco
Copy link
Member

@bors delegate+

@bors
Copy link
Collaborator

bors commented Aug 20, 2025

✌️ @jdonszelmann, you can now approve this pull request!

If @davidtwco told you to "r=me" after making some further change, please make that change, then do @bors r=@davidtwco

@rust-log-analyzer

This comment has been minimized.

@jdonszelmann jdonszelmann force-pushed the refactor-attr-parsing branch from e1188c4 to 1152a2c Compare August 20, 2025 14:26
@jdonszelmann jdonszelmann force-pushed the refactor-attr-parsing branch from 1152a2c to 49d030b Compare August 20, 2025 14:28
@jdonszelmann
Copy link
Contributor Author

@bors r=davidtwco

@bors
Copy link
Collaborator

bors commented Aug 20, 2025

📌 Commit 49d030b has been approved by davidtwco

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants