Skip to content

Commit badd8cc

Browse files
committed
Reduce visibility.
1 parent bfef261 commit badd8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_llvm/src/consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ impl<'ll> CodegenCx<'ll, '_> {
262262
}
263263

264264
#[instrument(level = "debug", skip(self, llty))]
265-
pub(crate) fn get_static_inner(&self, def_id: DefId, llty: &'ll Type) -> &'ll Value {
265+
fn get_static_inner(&self, def_id: DefId, llty: &'ll Type) -> &'ll Value {
266266
let instance = Instance::mono(self.tcx, def_id);
267267
if let Some(&g) = self.instances.borrow().get(&instance) {
268268
trace!("used cached value");

0 commit comments

Comments
 (0)