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