Function rustc_middle::ty::print::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.