Module rustc_trans::middle::infer
[−]
[src]
See the Book for more information.
Modules
| bivariate |
[Unstable] Applies the "bivariance relationship" to two types and/or regions. If (A,B) are bivariant then either A <: B or B <: A. It occurs when type/lifetime parameters are unconstrained. Usually this is an error, but we permit it in the specific case where a type parameter is constrained in a where-clause via an associated type. |
| combine | [Unstable] |
| equate | [Unstable] |
| error_reporting |
[Unstable] Error Reporting Code for the inference engine |
| glb | [Unstable] |
| lattice |
[Unstable]
Lattice Variables |
| lub | [Unstable] |
| region_inference |
[Unstable] See README.md |
| resolve | [Unstable] |
| sub | [Unstable] |
| type_variable | [Unstable] |
| unify_key | [Unstable] |
Structs
| CombinedSnapshot | [Unstable] |
| InferCtxt | [Unstable] |
| TypeFreshener | [Unstable] |
| TypeTrace |
[Unstable] The trace designates the path through inference that we took to encounter an error or subtyping constraint. |
Enums
| GenericKind | [Unstable] |
| IntVarValue | [Unstable] |
| LateBoundRegionConversionTime |
[Unstable] Times when we replace late-bound regions with variables: |
| RegionVariableOrigin |
[Unstable] Reasons to create a region inference variable |
| SubregionOrigin |
[Unstable] The origin of a |
| TypeOrigin |
[Unstable] Why did we require that the two types be related? |
| ValuePairs |
[Unstable] See |
| fixup_err | [Unstable] |
Functions
| can_mk_eqty | [Unstable] |
| can_mk_subty | [Unstable] |
| common_supertype |
[Unstable] Computes the least upper-bound of |
| fixup_err_to_string | [Unstable] |
| mk_eqty | [Unstable] |
| mk_sub_poly_trait_refs | [Unstable] |
| mk_subr | [Unstable] |
| mk_subty | [Unstable] |
| new_infer_ctxt | [Unstable] |
Type Definitions
| Bound | [Unstable] |
| SkolemizationMap | [Unstable] |
| UnitResult | [Unstable] |
| fres | [Unstable] |