]> git.lizzy.rs Git - rust.git/commitdiff
remove extra lifetime bound
authorNiko Matsakis <niko@alum.mit.edu>
Tue, 28 Aug 2018 18:56:05 +0000 (14:56 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Sun, 9 Sep 2018 18:14:41 +0000 (14:14 -0400)
src/librustc_mir/borrow_check/nll/type_check/relate_tys.rs

index 982ae560c8b1d1f8ae73cf7c319ee647e17fbfa9..20ecd5a16456d3e9488906c6ce20515e9e6103e3 100644 (file)
@@ -475,7 +475,7 @@ fn binders<T>(
 /// binder depth, and finds late-bound regions targeting the
 /// `for<..`>.  For each of those, it creates an entry in
 /// `bound_region_scope`.
-struct ScopeInstantiator<'cx, 'gcx: 'cx + 'tcx, 'tcx: 'cx> {
+struct ScopeInstantiator<'cx, 'gcx: 'tcx, 'tcx: 'cx> {
     infcx: &'cx InferCtxt<'cx, 'gcx, 'tcx>,
     // The debruijn index of the scope we are instantiating.
     target_index: ty::DebruijnIndex,