rustc_infer/infer/relate/
mod.rs

1//! This module contains the definitions of most `TypeRelation`s in the type system
2//! (except for some relations used for diagnostics and heuristics in the compiler).
3//! As well as the implementation of `Relate` for interned things (`Ty`/`Const`/etc).
4
5pub use rustc_middle::ty::relate::RelateResult;
6pub use rustc_type_ir::relate::combine::PredicateEmittingRelation;
7pub use rustc_type_ir::relate::*;
8
9mod generalize;
10mod higher_ranked;
11pub(super) mod lattice;
12pub(super) mod type_relating;