mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-24 22:57:53 +00:00
Move the logic for building a field mapping (which is used by the building of format strings in `suggestion` annotations) into a helper function. Signed-off-by: David Wood <david.wood@huawei.com>