remove EffectCheck

This commit is contained in:
Niko Matsakis 2017-04-04 11:19:36 -04:00
parent f3b876c4b2
commit a83734dd96
2 changed files with 0 additions and 5 deletions

View file

@ -64,7 +64,6 @@ pub enum DepNode<D: Clone + Debug> {
CollectItem(D),
CollectItemSig(D),
Coherence,
EffectCheck,
Liveness,
Resolve,
EntryPoint,
@ -219,7 +218,6 @@ impl<D: Clone + Debug> DepNode<D> {
PluginRegistrar => Some(PluginRegistrar),
StabilityIndex => Some(StabilityIndex),
Coherence => Some(Coherence),
EffectCheck => Some(EffectCheck),
Liveness => Some(Liveness),
Resolve => Some(Resolve),
EntryPoint => Some(EntryPoint),

View file

@ -12,7 +12,6 @@
//! `unsafe`.
use self::RootUnsafeContext::*;
use dep_graph::DepNode;
use ty::{self, Ty, TyCtxt};
use ty::MethodCall;
use lint;
@ -241,8 +240,6 @@ impl<'a, 'tcx> Visitor<'tcx> for EffectCheckVisitor<'a, 'tcx> {
}
pub fn check_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>) {
let _task = tcx.dep_graph.in_task(DepNode::EffectCheck);
let mut visitor = EffectCheckVisitor {
tcx: tcx,
tables: &ty::TypeckTables::empty(),