diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-18 10:21:02 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-19 20:10:42 +1000 |
| commit | badd8cc8f4387410c7037880837abe5ab65e764c (patch) | |
| tree | e9e783d9a2b74d05998463e50adfea2083cd4525 /compiler/rustc_codegen_llvm/src | |
| parent | bfef2611d9039fc30d0461e3134effe2ceeee7d3 (diff) | |
| download | rust-badd8cc8f4387410c7037880837abe5ab65e764c.tar.gz rust-badd8cc8f4387410c7037880837abe5ab65e764c.zip | |
Reduce visibility.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/consts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/consts.rs b/compiler/rustc_codegen_llvm/src/consts.rs index c3b1676f77e..42e336f8f28 100644 --- a/compiler/rustc_codegen_llvm/src/consts.rs +++ b/compiler/rustc_codegen_llvm/src/consts.rs @@ -262,7 +262,7 @@ impl<'ll> CodegenCx<'ll, '_> { } #[instrument(level = "debug", skip(self, llty))] - pub(crate) fn get_static_inner(&self, def_id: DefId, llty: &'ll Type) -> &'ll Value { + fn get_static_inner(&self, def_id: DefId, llty: &'ll Type) -> &'ll Value { let instance = Instance::mono(self.tcx, def_id); if let Some(&g) = self.instances.borrow().get(&instance) { trace!("used cached value"); |
