Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/next_solver/infer/relate/mod.rs')
-rw-r--r--crates/hir-ty/src/next_solver/infer/relate/mod.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/crates/hir-ty/src/next_solver/infer/relate/mod.rs b/crates/hir-ty/src/next_solver/infer/relate/mod.rs
new file mode 100644
index 0000000000..0cc1cf756a
--- /dev/null
+++ b/crates/hir-ty/src/next_solver/infer/relate/mod.rs
@@ -0,0 +1,14 @@
+//! This module contains the definitions of most `TypeRelation`s in the type system
+//! (except for some relations used for diagnostics and heuristics in the compiler).
+//! As well as the implementation of `Relate` for interned things (`Ty`/`Const`/etc).
+
+pub use rustc_type_ir::relate::combine::PredicateEmittingRelation;
+pub use rustc_type_ir::relate::*;
+
+use crate::next_solver::DbInterner;
+
+mod generalize;
+mod higher_ranked;
+pub(crate) mod lattice;
+
+pub type RelateResult<'db, T> = rustc_type_ir::relate::RelateResult<DbInterner<'db>, T>;