Function clippy::utils::path_to_def
[−]
[src]
pub fn path_to_def(cx: &LateContext, path: &[&str]) -> Option<DefLike>
Get the definition associated to a path. TODO: investigate if there is something more efficient for that.