Skip to content

Commit 28328c8

Browse files
committed
remove unnecessary _ in variable name
1 parent 8588350 commit 28328c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_borrowck/src/type_check/relate_tys.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,12 @@ impl<'tcx> TypeRelatingDelegate<'tcx> for NllTypeRelatingDelegate<'_, '_, 'tcx>
107107
fn next_existential_region_var(
108108
&mut self,
109109
from_forall: bool,
110-
_name: Option<Symbol>,
110+
name: Option<Symbol>,
111111
) -> ty::Region<'tcx> {
112112
let origin = NllRegionVariableOrigin::Existential { from_forall };
113113

114114
let reg_var =
115-
self.type_checker.infcx.next_nll_region_var(origin, || RegionCtxt::Existential(_name));
115+
self.type_checker.infcx.next_nll_region_var(origin, || RegionCtxt::Existential(name));
116116

117117
reg_var
118118
}

0 commit comments

Comments
 (0)