Skip to content

Commit 848c252

Browse files
committed
Remove unnecessary parameter
1 parent 60eeed3 commit 848c252

File tree

1 file changed

+2
-4
lines changed
  • src/librustc_mir/borrow_check/nll/region_infer

1 file changed

+2
-4
lines changed

src/librustc_mir/borrow_check/nll/region_infer/mod.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,6 @@ pub trait ClosureRegionRequirementsExt<'gcx, 'tcx> {
13571357
fn apply_requirements(
13581358
&self,
13591359
tcx: TyCtxt<'_, 'gcx, 'tcx>,
1360-
location: Location,
13611360
closure_def_id: DefId,
13621361
closure_substs: SubstsRef<'tcx>,
13631362
) -> Vec<QueryRegionConstraint<'tcx>>;
@@ -1388,13 +1387,12 @@ impl<'gcx, 'tcx> ClosureRegionRequirementsExt<'gcx, 'tcx> for ClosureRegionRequi
13881387
fn apply_requirements(
13891388
&self,
13901389
tcx: TyCtxt<'_, 'gcx, 'tcx>,
1391-
location: Location,
13921390
closure_def_id: DefId,
13931391
closure_substs: SubstsRef<'tcx>,
13941392
) -> Vec<QueryRegionConstraint<'tcx>> {
13951393
debug!(
1396-
"apply_requirements(location={:?}, closure_def_id={:?}, closure_substs={:?})",
1397-
location, closure_def_id, closure_substs
1394+
"apply_requirements(closure_def_id={:?}, closure_substs={:?})",
1395+
closure_def_id, closure_substs
13981396
);
13991397

14001398
// Extract the values of the free regions in `closure_substs`

0 commit comments

Comments
 (0)