We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccd6c61 commit 3b07169Copy full SHA for 3b07169
compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs
@@ -13,8 +13,7 @@ pub(crate) fn mangled_name_of_instance<'a, 'tcx>(
13
cx: &CodegenCx<'a, 'tcx>,
14
instance: Instance<'tcx>,
15
) -> ty::SymbolName<'tcx> {
16
- let tcx = cx.tcx;
17
- tcx.symbol_name(instance)
+ cx.tcx.symbol_name(instance)
18
}
19
20
pub(crate) fn item_namespace<'ll>(cx: &CodegenCx<'ll, '_>, def_id: DefId) -> &'ll DIScope {
0 commit comments