-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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 rustc_hir_analysis
to session diagnostic [Part 3]
#110028
Migrate rustc_hir_analysis
to session diagnostic [Part 3]
#110028
Conversation
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.
There's nothing wrong with this implementation per se, but I think that you should probably migrate more than one diagnostic per PR.
There are 12 invocations of struct_span_err
in rustc_hir_analysis/src/collect.rs
(and 161 invocation in rustc_hir_analysis
!). At least a few of those should be pretty trivial to migrate, and can be batched up together so they can be reviewed all at once so it's easier to review and results in less noise in the git history.
Part 3: Finishing `collect.rs` file
87607f2
to
066638b
Compare
@bors r+ |
@bors rollup |
…tics-3, r=compiler-errors Migrate `rustc_hir_analysis` to session diagnostic [Part 3] Part 3: Finishing `collect.rs` file r? `@compiler-errors`
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#108843 (Instantiate instead of erasing binder when probing param methods) - rust-lang#109985 (Add little `is_test_crate` function) - rust-lang#110028 (Migrate `rustc_hir_analysis` to session diagnostic [Part 3]) - rust-lang#110095 (Migrate remainder of rustc_ty_utils to `SessionDiagnostic`) - rust-lang#110108 (Add renaming of ignore-git to changelog) - rust-lang#110114 (compiletest: Give a better error message if `node` isn't installed) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Part 3: Finishing
collect.rs
filer? @compiler-errors