-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Clean up (sub)diagnostic derives #101851
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Clean up (sub)diagnostic derives #101851
Conversation
r? @eholk (rust-highfive has picked a reviewer for you, use r? to override) |
r? @davidtwco |
LGTM, is there a reason that this is still marked as a draft or can I r=me it? |
@JhonnyBillM has been waiting and rebasing for longer, I'll let them go first. |
#101558 has p=1, rollup=never and is an older PR, so should get through the queue quicker. I'm going to unmark this as a draft and approve it so that I don't need to keep track of these pull requests and make sure that I approve this once that has landed - there's already a lot of pull requests in flight and I've got a backlog so would rather avoid the extra dependency to keep track of here. |
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
@bors r+ |
📌 Commit 1c8048bb6394652f52295fb65eeafe7d7ba2af68 has been approved by It is now in the queue for this repository. |
1c8048b
to
7c98dc7
Compare
Sorry for force-pushing after r+, but I did actually still have a bugfix locally that I was waiting to push together with a rebase. |
@bors r- |
This comment was marked as resolved.
This comment was marked as resolved.
7c98dc7
to
336a72a
Compare
@bors r+ |
…fee1-dead Rollup of 4 pull requests Successful merges: - rust-lang#101851 (Clean up (sub)diagnostic derives) - rust-lang#102244 (Only generate closure def id for async fns with body) - rust-lang#102263 (Clarify Iterator::rposition code example) - rust-lang#102280 (rustdoc: clean up `.out-of-band`/`.in-band` CSS) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
The biggest chunk of this is unifying the parsing of subdiagnostic attributes (
#[error]
,#[suggestion(...)]
,#[label(...)]
, etc) betweenSubdiagnostic
andDiagnostic
type attributes as well asDiagnostic
field attributes.It also improves a number of proc macro diagnostics.
Waiting for #101558.