@@ -405,7 +405,6 @@ fn connected_to_root<CTX: QueryContext>(
405
405
fn pick_query < ' a , CTX , T , F > ( query_map : & QueryMap < CTX > , tcx : CTX , queries : & ' a [ T ] , f : F ) -> & ' a T
406
406
where
407
407
CTX : QueryContext ,
408
- CTX :: Query : HashStable < CTX :: StableHashingContext > ,
409
408
F : Fn ( & T ) -> ( Span , QueryJobId < CTX :: DepKind > ) ,
410
409
{
411
410
// Deterministically pick an entry point
@@ -437,10 +436,7 @@ fn remove_cycle<CTX: QueryContext>(
437
436
jobs : & mut Vec < QueryJobId < CTX :: DepKind > > ,
438
437
wakelist : & mut Vec < Lrc < QueryWaiter < CTX > > > ,
439
438
tcx : CTX ,
440
- ) -> bool
441
- where
442
- CTX :: Query : HashStable < CTX :: StableHashingContext > ,
443
- {
439
+ ) -> bool {
444
440
let mut visited = FxHashSet :: default ( ) ;
445
441
let mut stack = Vec :: new ( ) ;
446
442
// Look for a cycle starting with the last query in `jobs`
@@ -564,10 +560,7 @@ pub unsafe fn handle_deadlock() {
564
560
/// There may be multiple cycles involved in a deadlock, so this searches
565
561
/// all active queries for cycles before finally resuming all the waiters at once.
566
562
#[ cfg( parallel_compiler) ]
567
- fn deadlock < CTX : QueryContext > ( tcx : CTX , registry : & rayon_core:: Registry )
568
- where
569
- CTX :: Query : HashStable < CTX :: StableHashingContext > ,
570
- {
563
+ fn deadlock < CTX : QueryContext > ( tcx : CTX , registry : & rayon_core:: Registry ) {
571
564
let on_panic = OnDrop ( || {
572
565
eprintln ! ( "deadlock handler panicked, aborting process" ) ;
573
566
process:: abort ( ) ;
0 commit comments