pub fn crate_to_string_for_macros(krate: &Crate) -> StringExpand description
Pretty prints a crate from its AST representation.
As the source text is not available, regular (non-doc) comments are not preserved.
Doc-comments can survive since they are represented in the AST.
To pretty-print a crate including its comments, use print_crate instead.