File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ pub enum DepNode<D: Clone + Debug> {
60
60
CheckStaticRecursion ,
61
61
ResolveLifetimes ,
62
62
RegionResolveCrate ,
63
- CheckLoops ,
64
63
PluginRegistrar ,
65
64
StabilityIndex ,
66
65
CollectItem ( D ) ,
@@ -219,7 +218,6 @@ impl<D: Clone + Debug> DepNode<D> {
219
218
CheckStaticRecursion => Some ( CheckStaticRecursion ) ,
220
219
ResolveLifetimes => Some ( ResolveLifetimes ) ,
221
220
RegionResolveCrate => Some ( RegionResolveCrate ) ,
222
- CheckLoops => Some ( CheckLoops ) ,
223
221
PluginRegistrar => Some ( PluginRegistrar ) ,
224
222
StabilityIndex => Some ( StabilityIndex ) ,
225
223
Coherence => Some ( Coherence ) ,
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ use self::Context::*;
11
11
12
12
use rustc:: session:: Session ;
13
13
14
- use rustc:: dep_graph:: DepNode ;
15
14
use rustc:: hir:: map:: Map ;
16
15
use rustc:: hir:: intravisit:: { self , Visitor , NestedVisitorMap } ;
17
16
use rustc:: hir;
@@ -50,7 +49,6 @@ struct CheckLoopVisitor<'a, 'hir: 'a> {
50
49
}
51
50
52
51
pub fn check_crate ( sess : & Session , map : & Map ) {
53
- let _task = map. dep_graph . in_task ( DepNode :: CheckLoops ) ;
54
52
let krate = map. krate ( ) ;
55
53
krate. visit_all_item_likes ( & mut CheckLoopVisitor {
56
54
sess : sess,
You can’t perform that action at this time.
0 commit comments