Migrate rustc_driver to SessionDiagnostic#100890
Migrate rustc_driver to SessionDiagnostic#100890bors merged 6 commits intorust-lang:masterfrom adriantombu:migrate_diagnostic_rustc_driver
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @wesleywiser (or someone else) soon. Please see the contribution instructions for more information. |
|
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
This comment has been minimized.
This comment has been minimized.
davidtwco
left a comment
There was a problem hiding this comment.
This is a great start, I've left some pointers.
|
r? @davidtwco |
|
We actually have a no merge policy, would you be able to rebase instead? |
|
Absolutely, sorry about that! |
This comment has been minimized.
This comment has been minimized.
davidtwco
left a comment
There was a problem hiding this comment.
I think this is almost ready, I've left another couple comments, thanks for your work on this
|
Use |
|
@rustbot ready |
This comment has been minimized.
This comment has been minimized.
davidtwco
left a comment
There was a problem hiding this comment.
This is great, one or two comments then we can land this.
|
@bors r+ |
|
Thanks for your explanations and patience @davidtwco! |
|
@bors rollup |
…mpiler-errors Rollup of 9 pull requests Successful merges: - rust-lang#100724 (Migrate ast lowering to session diagnostic) - rust-lang#100735 (Migrate `rustc_ty_utils` to `SessionDiagnostic`) - rust-lang#100738 (Diagnostics migr const eval) - rust-lang#100744 (Migrate rustc_mir_dataflow to diagnostic structs) - rust-lang#100776 (Migrate `rustc_lint` errors to `SessionDiagnostic`) - rust-lang#100817 (sugg: suggest the usage of boolean value when there is a typo in the keyword) - rust-lang#100836 (Migrate `rustc_attr` crate diagnostics) - rust-lang#100890 (Migrate rustc_driver to SessionDiagnostic) - rust-lang#100900 (on `region_errors.rs`) Failed merges: - rust-lang#100831 (Migrate `symbol_mangling` module to new diagnostics structs) r? `@ghost` `@rustbot` modify labels: rollup
First timer noob here 👋🏽 I'm having a problem understanding how I can retrieve the span, and how to properly construct the error structs to avoid the current compilation errors.
Any help pointing me in the right direction would be much appreciated 🙌🏽