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

pub fn with_path<T, F>(cx: &ctxt, id: DefId, f: F) -> T where F: FnOnce(PathElems) -> T