Skip to content

Commit 9125b17

Browse files
committed
Remove eval_always for lang items.
1 parent d2eea82 commit 9125b17

File tree

1 file changed

+1
-5
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+1
-5
lines changed

compiler/rustc_middle/src/query/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,25 +1484,21 @@ rustc_queries! {
14841484

14851485
query get_lib_features(_: ()) -> LibFeatures {
14861486
storage(ArenaCacheSelector<'tcx>)
1487-
eval_always
14881487
desc { "calculating the lib features map" }
14891488
}
1490-
query defined_lib_features(_: CrateNum)
1491-
-> &'tcx [(Symbol, Option<Symbol>)] {
1489+
query defined_lib_features(_: CrateNum) -> &'tcx [(Symbol, Option<Symbol>)] {
14921490
desc { "calculating the lib features defined in a crate" }
14931491
separate_provide_extern
14941492
}
14951493
/// Returns the lang items defined in another crate by loading it from metadata.
14961494
query get_lang_items(_: ()) -> LanguageItems {
14971495
storage(ArenaCacheSelector<'tcx>)
1498-
eval_always
14991496
desc { "calculating the lang items map" }
15001497
}
15011498

15021499
/// Returns all diagnostic items defined in all crates.
15031500
query all_diagnostic_items(_: ()) -> rustc_hir::diagnostic_items::DiagnosticItems {
15041501
storage(ArenaCacheSelector<'tcx>)
1505-
eval_always
15061502
desc { "calculating the diagnostic items map" }
15071503
}
15081504

0 commit comments

Comments
 (0)