mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
81aa532b7f
Avoid duplicate `requirement` diag args in `RegionOriginNote` Fixes rust-lang/rust#143872 `RegionOriginNote::WithRequirement` can be emitted multiple times for one diagnostic. I fixed the ICE by scoping per note fluent args in `RegionOriginNote::WithRequirement` with `store_args` and `restore_args`.