Function rustc_lint::middle::ty::with_pathUnstable [-] [+] [src]

pub fn with_path<T, F>(cx: &ctxt, id: DefId, f: F) -> T where F: FnOnce(Chain<Cloned<Iter<PathElem>>, LinkedPath>) -> T