rustdoc: Introduce a resolver cache for sharing data between early doc link resolution and later passes
This commit is contained in:
parent
e012a191d7
commit
5acd1f91a0
10 changed files with 297 additions and 266 deletions
|
@ -1416,13 +1416,6 @@ rustc_queries! {
|
|||
separate_provide_extern
|
||||
}
|
||||
|
||||
/// Given a crate, look up all trait impls in that crate.
|
||||
/// Return `(impl_id, self_ty)`.
|
||||
query all_trait_implementations(_: CrateNum) -> &'tcx [(DefId, Option<SimplifiedType>)] {
|
||||
desc { "looking up all (?) trait implementations" }
|
||||
separate_provide_extern
|
||||
}
|
||||
|
||||
query is_dllimport_foreign_item(def_id: DefId) -> bool {
|
||||
desc { |tcx| "is_dllimport_foreign_item({})", tcx.def_path_str(def_id) }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue