diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-04-04 11:19:36 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-04-04 11:19:36 -0400 |
| commit | a83734dd96e303f484972dba9b446b3dda478f2e (patch) | |
| tree | e33495cb15d93646eec08ced245ac7493996a607 | |
| parent | f3b876c4b2dec93ead8ebdcbf5eb5a0be4fa46a0 (diff) | |
| download | rust-a83734dd96e303f484972dba9b446b3dda478f2e.tar.gz rust-a83734dd96e303f484972dba9b446b3dda478f2e.zip | |
remove `EffectCheck`
| -rw-r--r-- | src/librustc/dep_graph/dep_node.rs | 2 | ||||
| -rw-r--r-- | src/librustc/middle/effect.rs | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/librustc/dep_graph/dep_node.rs b/src/librustc/dep_graph/dep_node.rs index 0521b50df4d..b3878819378 100644 --- a/src/librustc/dep_graph/dep_node.rs +++ b/src/librustc/dep_graph/dep_node.rs @@ -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), diff --git a/src/librustc/middle/effect.rs b/src/librustc/middle/effect.rs index 5af8e7e52d8..d2b8ed8c297 100644 --- a/src/librustc/middle/effect.rs +++ b/src/librustc/middle/effect.rs @@ -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(), |
