@@ -264,7 +264,7 @@ where
264264 /// Completes the query by updating the query cache with the `result`,
265265 /// signals the waiter and forgets the JobOwner, so it won't poison the query
266266 #[ inline( always) ]
267- fn complete ( self , tcx : CTX , result : C :: Value , dep_node_index : DepNodeIndex ) -> C :: Stored {
267+ fn complete ( self , result : C :: Value , dep_node_index : DepNodeIndex ) -> C :: Stored {
268268 // We can move out of `self` here because we `mem::forget` it below
269269 let key = unsafe { ptr:: read ( & self . key ) } ;
270270 let state = self . state ;
@@ -278,7 +278,7 @@ where
278278 QueryResult :: Started ( job) => job,
279279 QueryResult :: Poisoned => panic ! ( ) ,
280280 } ;
281- let result = state. cache . complete ( tcx , & mut lock. cache , key, result, dep_node_index) ;
281+ let result = state. cache . complete ( & mut lock. cache , key, result, dep_node_index) ;
282282 ( job, result)
283283 } ;
284284
@@ -432,7 +432,7 @@ where
432432 tcx. store_diagnostics_for_anon_node ( dep_node_index, diagnostics) ;
433433 }
434434
435- return job. complete ( tcx , result, dep_node_index) ;
435+ return job. complete ( result, dep_node_index) ;
436436 }
437437
438438 let dep_node = query. to_dep_node ( tcx, & key) ;
@@ -458,7 +458,7 @@ where
458458 } )
459459 } ) ;
460460 if let Some ( ( result, dep_node_index) ) = loaded {
461- return job. complete ( tcx , result, dep_node_index) ;
461+ return job. complete ( result, dep_node_index) ;
462462 }
463463 }
464464
@@ -609,7 +609,7 @@ where
609609 }
610610 }
611611
612- let result = job. complete ( tcx , result, dep_node_index) ;
612+ let result = job. complete ( result, dep_node_index) ;
613613
614614 ( result, dep_node_index)
615615}
0 commit comments