Module rustc_interface::passes
source · Structs§
Statics§
Functions§
- analysis 🔒Runs the type-checking, region checking and other miscellaneous analysis passes on the crate.
- Runs the “early phases” of the compiler: initial
cfg
processing, syntax expansion, secondarycfg
expansion, synthesis of a test harness if one is to be provided, injection of a dependency on the standard library and prelude, and name resolution. - Runs all analyses that we guarantee to run, even if errors were reported in earlier analyses. This function never fails.
- Runs the codegen backend, after which the AST and analysis can be discarded.