File tree 1 file changed +0
-4
lines changed
compiler/rustc_query_system/src/dep_graph
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 1
1
use std:: assert_matches:: assert_matches;
2
2
use std:: fmt:: Debug ;
3
3
use std:: hash:: Hash ;
4
- use std:: marker:: PhantomData ;
5
4
use std:: sync:: Arc ;
6
5
use std:: sync:: atomic:: { AtomicU32 , Ordering } ;
7
6
@@ -362,7 +361,6 @@ impl<D: Deps> DepGraphData<D> {
362
361
node : Some ( key) ,
363
362
reads : EdgesVec :: new ( ) ,
364
363
read_set : Default :: default ( ) ,
365
- phantom_data : PhantomData ,
366
364
} ) ;
367
365
( with_deps ( TaskDepsRef :: Allow ( & task_deps) ) , task_deps. into_inner ( ) . reads )
368
366
} ;
@@ -1327,7 +1325,6 @@ pub struct TaskDeps {
1327
1325
node : Option < DepNode > ,
1328
1326
reads : EdgesVec ,
1329
1327
read_set : FxHashSet < DepNodeIndex > ,
1330
- phantom_data : PhantomData < DepNode > ,
1331
1328
}
1332
1329
1333
1330
impl Default for TaskDeps {
@@ -1337,7 +1334,6 @@ impl Default for TaskDeps {
1337
1334
node : None ,
1338
1335
reads : EdgesVec :: new ( ) ,
1339
1336
read_set : FxHashSet :: with_capacity_and_hasher ( 128 , Default :: default ( ) ) ,
1340
- phantom_data : PhantomData ,
1341
1337
}
1342
1338
}
1343
1339
}
You can’t perform that action at this time.
0 commit comments