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
@@ -354,7 +353,6 @@ impl<D: Deps> DepGraphData<D> {
354
353
node : Some ( key) ,
355
354
reads : EdgesVec :: new ( ) ,
356
355
read_set : Default :: default ( ) ,
357
- phantom_data : PhantomData ,
358
356
} ) ;
359
357
( with_deps ( TaskDepsRef :: Allow ( & task_deps) ) , task_deps. into_inner ( ) . reads )
360
358
} ;
@@ -1301,7 +1299,6 @@ pub struct TaskDeps {
1301
1299
node : Option < DepNode > ,
1302
1300
reads : EdgesVec ,
1303
1301
read_set : FxHashSet < DepNodeIndex > ,
1304
- phantom_data : PhantomData < DepNode > ,
1305
1302
}
1306
1303
1307
1304
impl Default for TaskDeps {
@@ -1311,7 +1308,6 @@ impl Default for TaskDeps {
1311
1308
node : None ,
1312
1309
reads : EdgesVec :: new ( ) ,
1313
1310
read_set : FxHashSet :: with_capacity_and_hasher ( 128 , Default :: default ( ) ) ,
1314
- phantom_data : PhantomData ,
1315
1311
}
1316
1312
}
1317
1313
}
You can’t perform that action at this time.
0 commit comments