Skip to content

Commit a83734d

Browse files
committed
remove EffectCheck
1 parent f3b876c commit a83734d

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/librustc/dep_graph/dep_node.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ pub enum DepNode<D: Clone + Debug> {
6464
CollectItem(D),
6565
CollectItemSig(D),
6666
Coherence,
67-
EffectCheck,
6867
Liveness,
6968
Resolve,
7069
EntryPoint,
@@ -219,7 +218,6 @@ impl<D: Clone + Debug> DepNode<D> {
219218
PluginRegistrar => Some(PluginRegistrar),
220219
StabilityIndex => Some(StabilityIndex),
221220
Coherence => Some(Coherence),
222-
EffectCheck => Some(EffectCheck),
223221
Liveness => Some(Liveness),
224222
Resolve => Some(Resolve),
225223
EntryPoint => Some(EntryPoint),

src/librustc/middle/effect.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
//! `unsafe`.
1313
use self::RootUnsafeContext::*;
1414

15-
use dep_graph::DepNode;
1615
use ty::{self, Ty, TyCtxt};
1716
use ty::MethodCall;
1817
use lint;
@@ -241,8 +240,6 @@ impl<'a, 'tcx> Visitor<'tcx> for EffectCheckVisitor<'a, 'tcx> {
241240
}
242241

243242
pub fn check_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>) {
244-
let _task = tcx.dep_graph.in_task(DepNode::EffectCheck);
245-
246243
let mut visitor = EffectCheckVisitor {
247244
tcx: tcx,
248245
tables: &ty::TypeckTables::empty(),

0 commit comments

Comments
 (0)