Function clippy_lints::utils::path_to_def [] [src]

pub fn path_to_def(cx: &LateContext, path: &[&str]) -> Option<Def>

Get the definition associated to a path. TODO: investigate if there is something more efficient for that.