Remove metadata_loader query
It is only used by CrateLoader. We can store the metadata loader in CStore instead which CrateLoader has access to.
This commit is contained in:
parent
980143b50c
commit
c6247387b4
4 changed files with 15 additions and 16 deletions
|
@ -2096,12 +2096,6 @@ rustc_queries! {
|
|||
desc { "looking up enabled feature gates" }
|
||||
}
|
||||
|
||||
query metadata_loader((): ()) -> &'tcx Steal<Box<rustc_session::cstore::MetadataLoaderDyn>> {
|
||||
feedable
|
||||
no_hash
|
||||
desc { "raw operations for metadata file access" }
|
||||
}
|
||||
|
||||
query crate_for_resolver((): ()) -> &'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)> {
|
||||
feedable
|
||||
no_hash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue