]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #101936 - IntQuant:issue-100717-infer-4, r=compiler-errors
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 7 Jan 2023 19:43:18 +0000 (20:43 +0100)
committerGitHub <noreply@github.com>
Sat, 7 Jan 2023 19:43:18 +0000 (20:43 +0100)
commit405e48f1ac0297fde1fdc49ea45b0ba5acc977bd
treed6a8b05c9156523031f3303421bb5a7e3fdd9cee
parentb1691f6413a4afd7529ab309965123cc63e82021
parent0c50e1f146efc594eb84146c598d577c9f8a27d2
Rollup merge of #101936 - IntQuant:issue-100717-infer-4, r=compiler-errors

Migrating rustc_infer to session diagnostics (part 3)

``@rustbot`` label +A-translation
r? rust-lang/diagnostics
cc https://github.com/rust-lang/rust/issues/100717

Seems like a part of static_impl_trait.rs emits suggestions in a loop, and note.rs needs to have two instances of the same subdiagnostic, so these will need to wait until we have eager translation/list support.
Other than that, there is only error_reporting/mod.rs left to migrate.
compiler/rustc_infer/src/errors/mod.rs
compiler/rustc_infer/src/infer/error_reporting/nice_region_error/static_impl_trait.rs
compiler/rustc_infer/src/infer/error_reporting/nice_region_error/trait_impl_difference.rs