Function clippy_utils::def_path_res
source · pub fn def_path_res(cx: &LateContext<'_>, path: &[&str]) -> Res
Expand description
Resolves a def path like std::vec::Vec
.
This function is expensive and should be used sparingly.
pub fn def_path_res(cx: &LateContext<'_>, path: &[&str]) -> Res
Resolves a def path like std::vec::Vec
.
This function is expensive and should be used sparingly.