Function rustc_driver::driver::phase_3_run_analysis_passes
[−]
[src]
pub fn phase_3_run_analysis_passes<'tcx, F, R>(sess: &'tcx Session, hir_map: Map<'tcx>, analysis: CrateAnalysis, resolutions: Resolutions, arenas: &'tcx CtxtArenas<'tcx>, name: &str, f: F) -> Result<R, usize> where F: for<'a> FnOnce(TyCtxt<'a, 'tcx, 'tcx>, Option<MirMap<'tcx>>, CrateAnalysis, CompileResult) -> R
Unstable (
rustc_private
)Run the resolution, typechecking, region checking and other miscellaneous analysis passes on the crate. Return various structures carrying the results of the analysis.