Skip to main content

Module types

Module types 

Source

Re-exportsΒ§

pub use def_id::*;
pub use mir::*;
pub use new::*;
pub use ty::*;

ModulesΒ§

def_id πŸ”’
This module contains the type definition for DefId and the types DefId depends on.
mir πŸ”’
Copies of the relevant MIR types. MIR represents a rust (function) body as a CFG. It’s a semantically rich representation that contains no high-level control-flow operations like loops or patterns; instead the control flow is entirely described by gotos and switches on integer values.
new πŸ”’
This module contains type definitions that have no equivalent in Rustc.
ty πŸ”’
Copies of the relevant type-level types. These are semantically-rich representations of type-level concepts such as types and trait references.

StructsΒ§

Span
A compressed span.
Spanned

EnumsΒ§

ErrorGuaranteed

Type AliasesΒ§

Ident
Reflects [rustc_span::symbol::Ident]