about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-15 10:28:10 +0200
committerGitHub <noreply@github.com>2022-08-15 10:28:10 +0200
commit965ed812fbdd645d3988ded7b8c6a0946cac3cf3 (patch)
tree23e500363e4c1a5b3d07703dd6d6b2f75db764d5 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parentd6b650391ac5e489ecd52a4dba35db3c1395a4e1 (diff)
parenta639fdb7d89e7acb8ca3e158ecf72c27ad525518 (diff)
downloadrust-965ed812fbdd645d3988ded7b8c6a0946cac3cf3.tar.gz
rust-965ed812fbdd645d3988ded7b8c6a0946cac3cf3.zip
Rollup merge of #100277 - m-ou-se:format-args-1, r=compiler-errors
Simplify format_args builtin macro implementation.

Instead of a FxHashMap<Symbol, (usize, Span)> for the named arguments, this now includes the name and span in the elements of the Vec<FormatArg> directly. The FxHashMap still exists to look up the index, but no longer contains the span. Looking up the name or span of an argument is now trivial and does not need the map anymore.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions