Module rustc_type_ir::sty

source ·

Enums

  • Represents a constant in Rust.
  • Specifies how a trait object is represented.
  • Representation of regions. Note that the NLL checker uses a distinct representation of regions. For this reason, it internally replaces all the regions with inference variables – the index of the variable is then used to index into internal NLL data structures. See rustc_const_eval::borrow_check module for more information.
  • Defines the kinds of types used by the type system.

Functions