Skip to content

Commit 09f4172

Browse files
committed
remove extra lifetime bound
1 parent fa1f564 commit 09f4172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/borrow_check/nll/type_check/relate_tys.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ impl<'cx, 'bccx, 'gcx, 'tcx> TypeRelation<'cx, 'gcx, 'tcx>
475475
/// binder depth, and finds late-bound regions targeting the
476476
/// `for<..`>. For each of those, it creates an entry in
477477
/// `bound_region_scope`.
478-
struct ScopeInstantiator<'cx, 'gcx: 'cx + 'tcx, 'tcx: 'cx> {
478+
struct ScopeInstantiator<'cx, 'gcx: 'tcx, 'tcx: 'cx> {
479479
infcx: &'cx InferCtxt<'cx, 'gcx, 'tcx>,
480480
// The debruijn index of the scope we are instantiating.
481481
target_index: ty::DebruijnIndex,

0 commit comments

Comments
 (0)