mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
508d7e6d26
Eager translation will enable subdiagnostics to be translated multiple times with different arguments - this requires the ability to replace the value of one argument with a new value, which is better suited to a `HashMap` than the previous storage, a `Vec`. Signed-off-by: David Wood <david.wood@huawei.com>
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.