incr.comp.: Add some missing DepNode [input] annotations.
This commit is contained in:
parent
687e099b44
commit
3bb25d6bfb
2 changed files with 5 additions and 9 deletions
|
@ -562,7 +562,7 @@ define_dep_nodes!( <'tcx>
|
|||
[] IsPanicRuntime(CrateNum),
|
||||
[] IsCompilerBuiltins(CrateNum),
|
||||
[] HasGlobalAllocator(CrateNum),
|
||||
[] ExternCrate(DefId),
|
||||
[input] ExternCrate(DefId),
|
||||
[eval_always] LintLevels,
|
||||
[] Specializes { impl1: DefId, impl2: DefId },
|
||||
[input] InScopeTraits(DefIndex),
|
||||
|
@ -602,8 +602,8 @@ define_dep_nodes!( <'tcx>
|
|||
[] MissingLangItems(CrateNum),
|
||||
[] ExternConstBody(DefId),
|
||||
[] VisibleParentMap,
|
||||
[] MissingExternCrateItem(CrateNum),
|
||||
[] UsedCrateSource(CrateNum),
|
||||
[input] MissingExternCrateItem(CrateNum),
|
||||
[input] UsedCrateSource(CrateNum),
|
||||
[input] PostorderCnums,
|
||||
[input] HasCloneClosures(CrateNum),
|
||||
[input] HasCopyClosures(CrateNum),
|
||||
|
@ -619,7 +619,7 @@ define_dep_nodes!( <'tcx>
|
|||
[input] Freevars(DefId),
|
||||
[input] MaybeUnusedTraitImport(DefId),
|
||||
[input] MaybeUnusedExternCrates,
|
||||
[] StabilityIndex,
|
||||
[eval_always] StabilityIndex,
|
||||
[input] AllCrateNums,
|
||||
[] ExportedSymbols(CrateNum),
|
||||
[eval_always] CollectAndPartitionTranslationItems,
|
||||
|
|
|
@ -1124,11 +1124,7 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
|
|||
}
|
||||
|
||||
pub fn stability(self) -> Rc<stability::Index<'tcx>> {
|
||||
// FIXME(#42293) we should actually track this, but fails too many tests
|
||||
// today.
|
||||
self.dep_graph.with_ignore(|| {
|
||||
self.stability_index(LOCAL_CRATE)
|
||||
})
|
||||
self.stability_index(LOCAL_CRATE)
|
||||
}
|
||||
|
||||
pub fn crates(self) -> Rc<Vec<CrateNum>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue