@@ -168,16 +168,15 @@ where
168
168
/// This function is inlined because that results in a noticeable speed-up
169
169
/// for some compile-time benchmarks.
170
170
#[ inline( always) ]
171
- fn try_start < ' a , ' b , Q , K > (
171
+ fn try_start < ' a , ' b , Q > (
172
172
tcx : CTX ,
173
173
span : Span ,
174
174
key : & C :: Key ,
175
175
mut lookup : QueryLookup < ' a , CTX , C :: Key , C :: Sharded > ,
176
176
) -> TryGetJob < ' b , CTX , C >
177
177
where
178
- K : DepKind ,
179
178
Q : QueryDescription < CTX , Key = C :: Key , Value = C :: Value , Cache = C > ,
180
- CTX : QueryContext < DepKind = K > ,
179
+ CTX : QueryContext ,
181
180
{
182
181
let lock = & mut * lookup. lock ;
183
182
@@ -391,7 +390,7 @@ where
391
390
Q : QueryDescription < CTX > ,
392
391
CTX : QueryContext ,
393
392
{
394
- let job = match JobOwner :: try_start :: < Q , _ > ( tcx, span, & key, lookup) {
393
+ let job = match JobOwner :: try_start :: < Q > ( tcx, span, & key, lookup) {
395
394
TryGetJob :: NotYetStarted ( job) => job,
396
395
TryGetJob :: Cycle ( result) => return result,
397
396
#[ cfg( parallel_compiler) ]
@@ -697,7 +696,7 @@ where
697
696
// Cache hit, do nothing
698
697
} ,
699
698
|key, lookup| {
700
- let job = match JobOwner :: try_start :: < Q , _ > ( self , span, & key, lookup) {
699
+ let job = match JobOwner :: try_start :: < Q > ( self , span, & key, lookup) {
701
700
TryGetJob :: NotYetStarted ( job) => job,
702
701
TryGetJob :: Cycle ( _) => return ,
703
702
#[ cfg( parallel_compiler) ]
0 commit comments