Function rustc_middle::ty::print::pretty::with_crate_prefix [−][src]
pub fn with_crate_prefix<F: FnOnce() -> R, R>(f: F) -> R
Expand description
Adds the crate::
prefix to paths where appropriate.