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.


  • 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.