Remove a use of feed_local_crate and make it fail if used within queries

This commit is contained in:
Oli Scherer 2024-02-19 16:58:18 +00:00
parent 3845be6b37
commit c696d4c323
5 changed files with 21 additions and 8 deletions

View file

@ -2230,7 +2230,6 @@ rustc_queries! {
/// Should not be called for the local crate before the resolver outputs are created, as it
/// is only fed there.
query stripped_cfg_items(cnum: CrateNum) -> &'tcx [StrippedCfgItem] {
feedable
desc { "getting cfg-ed out item names" }
separate_provide_extern
}