Function rustc_middle::ty::print::with_no_trimmed_paths[][src]

pub fn with_no_trimmed_paths<F: FnOnce() -> R, R>(f: F) -> R
Expand description

Prevent path trimming if it is turned on. Path trimming affects Display impl of various rustc types, for example std::vec::Vec would be trimmed to Vec, if no other Vec is found.