-
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
Remove a use of StructuredDiag
, which is incompatible with automatic error tainting and error translations
#127319
Conversation
…c error tainting and error translations
rustbot has assigned @petrochenkov. Use |
r? @estebank as you added that trait |
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.
hahahah what is StructuredDiag
, sounds like that should be migrated to Diagnostic
asap
@bors r+ rollup |
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#123043 (Disable dead variant removal for `#[repr(C)]` enums.) - rust-lang#126405 (Migrate some rustc_builtin_macros to SessionDiagnostic) - rust-lang#127037 (Remove some duplicated tests) - rust-lang#127283 (Reject SmartPointer constructions not serving the purpose) - rust-lang#127301 (Tweak some structured suggestions to be more verbose and accurate) - rust-lang#127307 (Allow to have different types for arguments of `Rustc::remap_path_prefix`) - rust-lang#127309 (jsondocck: add `$FILE` built-in variable) - rust-lang#127314 (Trivial update on tidy bless note) - rust-lang#127319 (Remove a use of `StructuredDiag`, which is incompatible with automatic error tainting and error translations) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#127319 - oli-obk:fail2taint, r=compiler-errors Remove a use of `StructuredDiag`, which is incompatible with automatic error tainting and error translations fixes rust-lang#127219 I want to remove all of `StructuredDiag`, but it's a bit more involved as it is also used from the `ItemCtxt`, which doesn't support tainting yet.
It predates our current infra by a few years. It was a prototype to have opt-in extended explanations for newcomers. I should have completely removed once it became obvious that that approach wasn't gonna pan out. |
Remove `StructuredDiag` follow-up to rust-lang#127319 This trait was an experiment that didn't pan out.
fixes #127219
I want to remove all of
StructuredDiag
, but it's a bit more involved as it is also used from theItemCtxt
, which doesn't support tainting yet.