pub fn print_crate<'a>(
    sm: &'a SourceMap,
    krate: &Crate,
    filename: FileName,
    input: String,
    ann: &'a dyn PpAnn,
    is_expanded: bool,
    edition: Edition
) -> String
Expand description

Requires you to pass an input filename and reader so that it can scan the input text for comments to copy forward.