about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/infer/combine.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-05-10 01:41:06 +0000
committerMichael Goulet <michael@errs.io>2023-05-15 16:40:42 +0000
commit41501c74490570c24b38f55484981f22eebf0d39 (patch)
treea8b0913b9e2fd80a3cadd75246d25400f77c67e2 /compiler/rustc_infer/src/infer/combine.rs
parent6d0b6c0d2cb6eefc8e7b247c3f15b53bd9b0d2ae (diff)
downloadrust-41501c74490570c24b38f55484981f22eebf0d39.tar.gz
rust-41501c74490570c24b38f55484981f22eebf0d39.zip
Rename super_relate_* to structurally_relate_*
Diffstat (limited to 'compiler/rustc_infer/src/infer/combine.rs')
-rw-r--r--compiler/rustc_infer/src/infer/combine.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_infer/src/infer/combine.rs b/compiler/rustc_infer/src/infer/combine.rs
index 4ed4164bd27..9559bfab6da 100644
--- a/compiler/rustc_infer/src/infer/combine.rs
+++ b/compiler/rustc_infer/src/infer/combine.rs
@@ -145,7 +145,7 @@ impl<'tcx> InferCtxt<'tcx> {
                 Ok(a)
             }
 
-            _ => ty::relate::super_relate_tys(relation, a, b),
+            _ => ty::relate::structurally_relate_tys(relation, a, b),
         }
     }
 
@@ -245,7 +245,7 @@ impl<'tcx> InferCtxt<'tcx> {
             _ => {}
         }
 
-        ty::relate::super_relate_consts(relation, a, b)
+        ty::relate::structurally_relate_consts(relation, a, b)
     }
 
     /// Unifies the const variable `target_vid` with the given constant.