Function rustc_driver::pretty::call_with_pp_support [−][src]
fn call_with_pp_support<'tcx, A, F>(
ppmode: &PpSourceMode,
sess: &'tcx Session,
tcx: Option<TyCtxt<'tcx>>,
f: F
) -> A where
F: FnOnce(&dyn PrinterSupport) -> A, Expand description
Constructs a PrinterSupport object and passes it to f.