about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src
diff options
context:
space:
mode:
authorjackh726 <git@jackhuey.me>2025-09-28 23:04:55 +0000
committerJack Huey <31162821+jackh726@users.noreply.github.com>2025-09-30 12:58:28 -0400
commitd1bbd39c59523d7a5499816a9da200a5910f8b7f (patch)
tree7838d10fbefd94f88ca80892648422a8336f433f /compiler/rustc_borrowck/src
parent6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 (diff)
downloadrust-d1bbd39c59523d7a5499816a9da200a5910f8b7f.tar.gz
rust-d1bbd39c59523d7a5499816a9da200a5910f8b7f.zip
Split Bound into Canonical and Bound
Diffstat (limited to 'compiler/rustc_borrowck/src')
-rw-r--r--compiler/rustc_borrowck/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_borrowck/src/lib.rs b/compiler/rustc_borrowck/src/lib.rs
index 4c380ddcf70..8b23bc2822b 100644
--- a/compiler/rustc_borrowck/src/lib.rs
+++ b/compiler/rustc_borrowck/src/lib.rs
@@ -278,7 +278,7 @@ impl<'tcx> ClosureOutlivesSubjectTy<'tcx> {
         mut map: impl FnMut(ty::RegionVid) -> ty::Region<'tcx>,
     ) -> Ty<'tcx> {
         fold_regions(tcx, self.inner, |r, depth| match r.kind() {
-            ty::ReBound(debruijn, br) => {
+            ty::ReBound(ty::BoundVarIndexKind::Bound(debruijn), br) => {
                 debug_assert_eq!(debruijn, depth);
                 map(ty::RegionVid::from_usize(br.var.index()))
             }