]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_llvm/abi.rs
Rollup merge of #69836 - JohnTitor:immediate-outputs, r=nagisa
[rust.git] / src / librustc_codegen_llvm / abi.rs
index c79d9f77e654eb9849642e30f1c8ff55e59e0df7..470a2bb8e1ea5842d145324985ee000fb3f49606 100644 (file)
@@ -148,7 +148,7 @@ fn llvm_type(&self, cx: &CodegenCx<'ll, '_>) -> &'ll Type {
             .prefix
             .iter()
             .flat_map(|option_kind| {
-                option_kind.map(|kind| Reg { kind: kind, size: self.prefix_chunk }.llvm_type(cx))
+                option_kind.map(|kind| Reg { kind, size: self.prefix_chunk }.llvm_type(cx))
             })
             .chain((0..rest_count).map(|_| rest_ll_unit))
             .collect();