about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/infer/context.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-08-26 15:23:57 +0200
committerlcnr <rust@lcnr.de>2025-09-08 14:17:56 +0200
commit28a0e77d1318210540fa1a561b9a8af08e2ffe40 (patch)
tree7ca0230acef083e8784a310b8efb376a0fcff167 /compiler/rustc_infer/src/infer/context.rs
parent2cb04b960fb8ae7f29401cd982bdb829b6c54a03 (diff)
downloadrust-28a0e77d1318210540fa1a561b9a8af08e2ffe40.tar.gz
rust-28a0e77d1318210540fa1a561b9a8af08e2ffe40.zip
pass `sub_relations` into canonical queries
Diffstat (limited to 'compiler/rustc_infer/src/infer/context.rs')
-rw-r--r--compiler/rustc_infer/src/infer/context.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_infer/src/infer/context.rs b/compiler/rustc_infer/src/infer/context.rs
index efd623fac78..b76931caaa5 100644
--- a/compiler/rustc_infer/src/infer/context.rs
+++ b/compiler/rustc_infer/src/infer/context.rs
@@ -59,6 +59,10 @@ impl<'tcx> rustc_type_ir::InferCtxtLike for InferCtxt<'tcx> {
         self.root_var(var)
     }
 
+    fn sub_root_ty_var(&self, var: ty::TyVid) -> ty::TyVid {
+        self.sub_root_var(var)
+    }
+
     fn root_const_var(&self, var: ty::ConstVid) -> ty::ConstVid {
         self.root_const_var(var)
     }