[][src]Function rustc_driver::pretty::call_with_pp_support

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, 

Constructs a PrinterSupport object and passes it to f.