-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Migrate parts of rustc_expand
to session diagnostics
#104460
Conversation
r? @estebank (rustbot has picked a reviewer for you, use r? to override) |
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
a93ff0f
to
fc9a5a2
Compare
This comment has been minimized.
This comment has been minimized.
fc9a5a2
to
9ad80d4
Compare
This comment has been minimized.
This comment has been minimized.
9ad80d4
to
2f2212c
Compare
☔ The latest upstream changes (presumably #104696) made this pull request unmergeable. Please resolve the merge conflicts. |
2f2212c
to
664b903
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the delay in reviewing, this largely looks good to me, left a few comments.
664b903
to
f7d1bba
Compare
Some of your suggested impls were already present and some had to be added. |
This comment has been minimized.
This comment has been minimized.
f7d1bba
to
830b7ec
Compare
☔ The latest upstream changes (presumably #105425) made this pull request unmergeable. Please resolve the merge conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the delay in getting back to this, r=me after rebasing
This migrates everything but the `mbe` and `proc_macro` modules. It also contains a few cleanups and drive-by/accidental diagnostic improvements which can be seen in the diff for the UI tests.
830b7ec
to
2f9f097
Compare
@bors r=davidtwco |
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#104460 (Migrate parts of `rustc_expand` to session diagnostics) - rust-lang#105192 (Point at LHS on binop type err if relevant) - rust-lang#105234 (Remove unneeded field from `SwitchTargets`) - rust-lang#105239 (Avoid heap allocation when truncating thread names) - rust-lang#105410 (Consider `parent_count` for const param defaults) - rust-lang#105482 (Fix invalid codegen during debuginfo lowering) Failed merges: - rust-lang#105411 (Introduce `with_forced_trimmed_paths`) r? `@ghost` `@rustbot` modify labels: rollup
This migrates everything but the
mbe
andproc_macro
modules. It also contains a few cleanups and drive-by/accidental diagnostic improvements which can be seen in the diff for the UI tests.