Module rustc_hir_analysis::variance
source ยท Expand description
Module for inferring the variance of type and lifetime parameters. See the rustc dev guide chapter for more info.
Modulesยง
- constraints ๐Code to gather up constraints. Constraint construction and representation
- dump ๐
- solve ๐Code to solve constraints and write out the results. Constraint solving
- terms ๐Defines the
TermsContext
basically houses an arena where we can allocate terms. - xform ๐Code for transforming variances.
Functionsยง
- crate_variances ๐
- variance_of_opaque ๐
- variances_of ๐