Function rustc_typeck::hir::print::print_crate
[−]
[src]
pub fn print_crate(cm: &'a CodeMap, span_diagnostic: &Handler, krate: &Crate, filename: String, input: &mut Read, out: Box<Write + 'a>, ann: &'a PpAnn + 'a, is_expanded: bool) -> Result<(), Error>
Unstable (
rustc_private
)Requires you to pass an input filename and reader so that it can scan the input text for comments and literals to copy forward.