rustc_hir_pretty

Function to_string

Source
pub(crate) fn to_string<F>(ann: &dyn PpAnn, f: F) -> String
where F: FnOnce(&mut State<'_>),