about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-10-03 14:02:49 +0100
committerDavid Wood <david.wood@huawei.com>2022-10-10 14:20:16 +0100
commit508d7e6d26bd636081c96ee6ed61f833917343ea (patch)
treee49e445b601f1532a438e10fa1b5a58e3957a484 /compiler/rustc_lint/src
parentfebbf71219001cd7948c3d1e5ffa68706896d955 (diff)
downloadrust-508d7e6d26bd636081c96ee6ed61f833917343ea.tar.gz
rust-508d7e6d26bd636081c96ee6ed61f833917343ea.zip
errors: use `HashMap` to store diagnostic args
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>
Diffstat (limited to 'compiler/rustc_lint/src')
0 files changed, 0 insertions, 0 deletions