@@ -421,7 +421,7 @@ where
421
421
}
422
422
423
423
let prof_timer = qcx. dep_context ( ) . profiler ( ) . query_provider ( ) ;
424
- let result = qcx. start_query ( job_id, query. depth_limit ( ) , None , & mut || query. compute ( qcx, key) ) ;
424
+ let result = qcx. start_query ( job_id, query. depth_limit ( ) , None , || query. compute ( qcx, key) ) ;
425
425
let dep_node_index = dep_graph. next_virtual_depnode_index ( ) ;
426
426
prof_timer. finish_with_query_invocation_id ( dep_node_index. into ( ) ) ;
427
427
@@ -445,7 +445,7 @@ where
445
445
446
446
// The diagnostics for this query will be promoted to the current session during
447
447
// `try_mark_green()`, so we can ignore them here.
448
- if let Some ( ret) = qcx. start_query ( job_id, false , None , & mut || {
448
+ if let Some ( ret) = qcx. start_query ( job_id, false , None , || {
449
449
try_load_from_disk_and_cache_in_memory ( query, qcx, & key, & dep_node)
450
450
} ) {
451
451
return ret;
@@ -456,7 +456,7 @@ where
456
456
let diagnostics = Lock :: new ( ThinVec :: new ( ) ) ;
457
457
458
458
let ( result, dep_node_index) =
459
- qcx. start_query ( job_id, query. depth_limit ( ) , Some ( & diagnostics) , & mut || {
459
+ qcx. start_query ( job_id, query. depth_limit ( ) , Some ( & diagnostics) , || {
460
460
if query. anon ( ) {
461
461
return dep_graph. with_anon_task ( * qcx. dep_context ( ) , query. dep_kind ( ) , || {
462
462
query. compute ( qcx, key)
0 commit comments