// Represents different phases in the compiler.
[] RegionScopeTree(DefId),
- [] Coherence,
- [] CoherenceInherentImplOverlapCheck,
+ [eval_always] Coherence,
+ [eval_always] CoherenceInherentImplOverlapCheck,
[] CoherenceCheckTrait(DefId),
- [] PrivacyAccessLevels(CrateNum),
+ [eval_always] PrivacyAccessLevels(CrateNum),
// Represents the MIR for a fn; also used as the task node for
// things read/modify that MIR.
[] Reachability,
[] MirKeys,
- [] CrateVariances,
+ [eval_always] CrateVariances,
// Nodes representing bits of computed IR in the tcx. Each shared
// table in the tcx (or elsewhere) maps to one of these
[] DtorckConstraint(DefId),
[] AdtDestructor(DefId),
[] AssociatedItemDefIds(DefId),
- [] InherentImpls(DefId),
+ [eval_always] InherentImpls(DefId),
[] TypeckBodiesKrate,
[] TypeckTables(DefId),
[] HasTypeckTables(DefId),
[] IsCompilerBuiltins(CrateNum),
[] HasGlobalAllocator(CrateNum),
[] ExternCrate(DefId),
- [] LintLevels,
+ [eval_always] LintLevels,
[] Specializes { impl1: DefId, impl2: DefId },
[input] InScopeTraits(DefIndex),
[] ModuleExports(DefId),
[] StabilityIndex,
[] AllCrateNums,
[] ExportedSymbols(CrateNum),
- [] CollectAndPartitionTranslationItems,
+ [eval_always] CollectAndPartitionTranslationItems,
[] ExportName(DefId),
[] ContainsExternIndicator(DefId),
[] IsTranslatedFunction(DefId),
}
pub fn check_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>) -> Rc<AccessLevels> {
- tcx.dep_graph.with_ignore(|| { // FIXME
- tcx.privacy_access_levels(LOCAL_CRATE)
- })
+ tcx.privacy_access_levels(LOCAL_CRATE)
}
fn privacy_access_levels<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,