We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfef261 commit badd8ccCopy full SHA for badd8cc
compiler/rustc_codegen_llvm/src/consts.rs
@@ -262,7 +262,7 @@ impl<'ll> CodegenCx<'ll, '_> {
262
}
263
264
#[instrument(level = "debug", skip(self, llty))]
265
- 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 {
266
let instance = Instance::mono(self.tcx, def_id);
267
if let Some(&g) = self.instances.borrow().get(&instance) {
268
trace!("used cached value");
0 commit comments