]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/check/method/probe.rs
Rollup merge of #81922 - magurotuna:issue81522, r=matthewjasper
[rust.git] / compiler / rustc_typeck / src / check / method / probe.rs
index 8bf7a5f522360789d462855cf362f38c0a7c3b7e..d83b74f4ce9e068bf1f82a250510386d13205d52 100644 (file)
@@ -1759,7 +1759,7 @@ fn fresh_item_substs(&self, def_id: DefId) -> SubstsRef<'tcx> {
     ///    region got replaced with the same variable, which requires a bit more coordination
     ///    and/or tracking the substitution and
     ///    so forth.
-    fn erase_late_bound_regions<T>(&self, value: ty::Binder<T>) -> T
+    fn erase_late_bound_regions<T>(&self, value: ty::Binder<'tcx, T>) -> T
     where
         T: TypeFoldable<'tcx>,
     {