diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-30 20:36:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-30 20:36:34 +0200 |
| commit | b192576036aab38f6245bf6bec1cb6019db65cd3 (patch) | |
| tree | b83071258f057ad8137bbd7fd48203bf2f78634e /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | e3ca397593795e0ffa95c5db2d4577dfdd1fb575 (diff) | |
| parent | 3ce90b16490490aea6da61f913fb0ecbc5d4ec7a (diff) | |
| download | rust-b192576036aab38f6245bf6bec1cb6019db65cd3.tar.gz rust-b192576036aab38f6245bf6bec1cb6019db65cd3.zip | |
Rollup merge of #114074 - matthiaskrgr:fmt_args_rustc_2, r=WaffleLapkin
inline format!() args from rustc_middle up to and including rustc_codegen_llvm (3) r? `@WaffleLapkin`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/attributes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/attributes.rs b/compiler/rustc_codegen_llvm/src/attributes.rs index e4fce30e232..4c9094bf1f5 100644 --- a/compiler/rustc_codegen_llvm/src/attributes.rs +++ b/compiler/rustc_codegen_llvm/src/attributes.rs @@ -444,7 +444,7 @@ pub fn from_fn_attrs<'ll, 'tcx>( let mut function_features = function_features .iter() .flat_map(|feat| { - llvm_util::to_llvm_features(cx.tcx.sess, feat).into_iter().map(|f| format!("+{}", f)) + llvm_util::to_llvm_features(cx.tcx.sess, feat).into_iter().map(|f| format!("+{f}")) }) .chain(codegen_fn_attrs.instruction_set.iter().map(|x| match x { InstructionSetAttr::ArmA32 => "-thumb-mode".to_string(), |
