remove EffectCheck
This commit is contained in:
parent
f3b876c4b2
commit
a83734dd96
2 changed files with 0 additions and 5 deletions
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue