Module rustc_hir_analysis::hir_ty_lowering

source ·
Expand description

HIR ty lowering: Lowers type-system entities1 from the HIR to the rustc_middle::ty representation.

Not to be confused with AST lowering which lowers AST constructs to HIR ones or with THIR / MIR lowering / building which lowers HIR bodies (i.e., “executable code”) to THIR / MIR.

Most lowering routines are defined on dyn HirTyLowerer directly, like the main routine of this module, lower_ty.

This module used to be called astconv.


  1. This includes types, lifetimes / regions, constants in type positions, trait references and bounds. 

Modules§

Structs§

Enums§

Traits§

Functions§