diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2023-07-18 07:04:44 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2023-07-18 07:04:44 +0000 |
| commit | 0c27c2e6050c47070faef777453963328336dd6f (patch) | |
| tree | 57660468a6b8a3d7467d60418eb3dc537fb35f35 /compiler/rustc_codegen_llvm/src | |
| parent | 7948f1ac472fc7b11a80cc33ee8f99b2f0a93f8c (diff) | |
| parent | ec362f0ae8a05618b75727cfdca853540cb2950e (diff) | |
| download | rust-0c27c2e6050c47070faef777453963328336dd6f.tar.gz rust-0c27c2e6050c47070faef777453963328336dd6f.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/base.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/base.rs b/compiler/rustc_codegen_llvm/src/base.rs index 5b2bbdb4bde..5b5f81c0329 100644 --- a/compiler/rustc_codegen_llvm/src/base.rs +++ b/compiler/rustc_codegen_llvm/src/base.rs @@ -86,8 +86,8 @@ pub fn compile_codegen_unit(tcx: TyCtxt<'_>, cgu_name: Symbol) -> (ModuleCodegen { let cx = CodegenCx::new(tcx, cgu, &llvm_module); let mono_items = cx.codegen_unit.items_in_deterministic_order(cx.tcx); - for &(mono_item, (linkage, visibility)) in &mono_items { - mono_item.predefine::<Builder<'_, '_, '_>>(&cx, linkage, visibility); + for &(mono_item, data) in &mono_items { + mono_item.predefine::<Builder<'_, '_, '_>>(&cx, data.linkage, data.visibility); } // ... and now that we have everything pre-defined, fill out those definitions. |
