File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -617,7 +617,7 @@ define_dep_nodes!( <'tcx>
617
617
[ ] ExternModStmtCnum ( DefId ) ,
618
618
[ input] GetLibFeatures ,
619
619
[ ] DefinedLibFeatures ( CrateNum ) ,
620
- [ input ] GetLangItems ,
620
+ [ eval_always ] GetLangItems ,
621
621
[ ] DefinedLangItems ( CrateNum ) ,
622
622
[ ] MissingLangItems ( CrateNum ) ,
623
623
[ ] VisibleParentMap ,
Original file line number Diff line number Diff line change @@ -2851,15 +2851,7 @@ pub fn provide(providers: &mut ty::query::Providers) {
2851
2851
} ;
2852
2852
providers. get_lang_items = |tcx, id| {
2853
2853
assert_eq ! ( id, LOCAL_CRATE ) ;
2854
- // FIXME(#42293) Right now we insert a `with_ignore` node in the dep
2855
- // graph here to ignore the fact that `get_lang_items` below depends on
2856
- // the entire crate. For now this'll prevent false positives of
2857
- // recompiling too much when anything changes.
2858
- //
2859
- // Once red/green incremental compilation lands we should be able to
2860
- // remove this because while the crate changes often the lint level map
2861
- // will change rarely.
2862
- tcx. dep_graph . with_ignore ( || Lrc :: new ( middle:: lang_items:: collect ( tcx) ) )
2854
+ Lrc :: new ( middle:: lang_items:: collect ( tcx) )
2863
2855
} ;
2864
2856
providers. freevars = |tcx, id| tcx. gcx . freevars . get ( & id) . cloned ( ) ;
2865
2857
providers. maybe_unused_trait_import = |tcx, id| {
You can’t perform that action at this time.
0 commit comments