From 1e9f8df6bb53869d5dfa530573725bb0ef3eff02 Mon Sep 17 00:00:00 2001 From: Jack Huey <31162821+jackh726@users.noreply.github.com> Date: Sun, 19 Jun 2022 00:20:27 -0400 Subject: Move RegionKind to rustc_type_ir --- compiler/rustc_borrowck/src/region_infer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_borrowck/src') 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 + '_ { + pub fn regions(&self) -> impl Iterator + 'tcx { self.definitions.indices() } -- cgit 1.4.1-3-g733a5