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,
                                               arena: &'tcx DroplessArena,
                                               arenas: &'tcx GlobalArenas<'tcx>,
                                               name: &str,
                                               f: F)
                                               -> Result<R, usize> where F: for<'a> FnOnce(TyCtxt<'a, 'tcx, 'tcx>, CrateAnalysis, IncrementalHashesMap, CompileResult) -> R
🔬 This is a nightly-only experimental API. (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.