Remove unnecessary parameter
This commit is contained in:
parent
60eeed34af
commit
848c252072
1 changed files with 2 additions and 4 deletions
|
|
@ -1357,7 +1357,6 @@ pub trait ClosureRegionRequirementsExt<'gcx, 'tcx> {
|
|||
fn apply_requirements(
|
||||
&self,
|
||||
tcx: TyCtxt<'_, 'gcx, 'tcx>,
|
||||
location: Location,
|
||||
closure_def_id: DefId,
|
||||
closure_substs: SubstsRef<'tcx>,
|
||||
) -> Vec<QueryRegionConstraint<'tcx>>;
|
||||
|
|
@ -1388,13 +1387,12 @@ impl<'gcx, 'tcx> ClosureRegionRequirementsExt<'gcx, 'tcx> for ClosureRegionRequi
|
|||
fn apply_requirements(
|
||||
&self,
|
||||
tcx: TyCtxt<'_, 'gcx, 'tcx>,
|
||||
location: Location,
|
||||
closure_def_id: DefId,
|
||||
closure_substs: SubstsRef<'tcx>,
|
||||
) -> Vec<QueryRegionConstraint<'tcx>> {
|
||||
debug!(
|
||||
"apply_requirements(location={:?}, closure_def_id={:?}, closure_substs={:?})",
|
||||
location, closure_def_id, closure_substs
|
||||
"apply_requirements(closure_def_id={:?}, closure_substs={:?})",
|
||||
closure_def_id, closure_substs
|
||||
);
|
||||
|
||||
// Extract the values of the free regions in `closure_substs`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue