mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
Remove a low-value local variable.
This commit is contained in:
parent
ccd6c6102d
commit
3b071692cb
@ -13,8 +13,7 @@ pub(crate) fn mangled_name_of_instance<'a, 'tcx>(
|
||||
cx: &CodegenCx<'a, 'tcx>,
|
||||
instance: Instance<'tcx>,
|
||||
) -> ty::SymbolName<'tcx> {
|
||||
let tcx = cx.tcx;
|
||||
tcx.symbol_name(instance)
|
||||
cx.tcx.symbol_name(instance)
|
||||
}
|
||||
|
||||
pub(crate) fn item_namespace<'ll>(cx: &CodegenCx<'ll, '_>, def_id: DefId) -> &'ll DIScope {
|
||||
|
Loading…
Reference in New Issue
Block a user