about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2022-06-19 00:20:27 -0400
committerJack Huey <31162821+jackh726@users.noreply.github.com>2022-06-19 00:20:27 -0400
commit1e9f8df6bb53869d5dfa530573725bb0ef3eff02 (patch)
treecb9220ff111e1e98ec47c00add3156528e8ab24f /compiler/rustc_borrowck/src
parent8e430bfa9a6a9d81b25bddf6325069d217dc6f3f (diff)
downloadrust-1e9f8df6bb53869d5dfa530573725bb0ef3eff02.tar.gz
rust-1e9f8df6bb53869d5dfa530573725bb0ef3eff02.zip
Move RegionKind to rustc_type_ir
Diffstat (limited to 'compiler/rustc_borrowck/src')
-rw-r--r--compiler/rustc_borrowck/src/region_infer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/region_infer/mod.rs b/compiler/rustc_borrowck/src/region_infer/mod.rs
index 2c460bcb72d..fcb0978111e 100644
--- a/compiler/rustc_borrowck/src/region_infer/mod.rs
+++ b/compiler/rustc_borrowck/src/region_infer/mod.rs
@@ -500,7 +500,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
     }
 
     /// Returns an iterator over all the region indices.
-    pub fn regions(&self) -> impl Iterator<Item = RegionVid> + '_ {
+    pub fn regions(&self) -> impl Iterator<Item = RegionVid> + 'tcx {
         self.definitions.indices()
     }