Cache foreign_modules query
This commit is contained in:
parent
9f6c670c4b
commit
69dc98161a
7 changed files with 20 additions and 16 deletions
|
@ -1168,7 +1168,7 @@ rustc_queries! {
|
|||
}
|
||||
|
||||
Other {
|
||||
query foreign_modules(_: CrateNum) -> &'tcx [ForeignModule] {
|
||||
query foreign_modules(_: CrateNum) -> Lrc<FxHashMap<DefId, ForeignModule>> {
|
||||
desc { "looking up the foreign modules of a linked crate" }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue