We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d72fc6 commit c1436c3Copy full SHA for c1436c3
src/librustc/ty/maps/plumbing.rs
@@ -433,10 +433,17 @@ macro_rules! define_maps {
433
profq_msg!(tcx, ProfileQueriesMsg::ProviderBegin);
434
let res = tcx.cycle_check(span, Query::$name(key), || {
435
tcx.sess.diagnostic().track_diagnostics(|| {
436
- tcx.dep_graph.with_task(dep_node,
437
- tcx,
438
- key,
439
- Self::compute_result)
+ if dep_node.kind.is_eval_always() {
+ tcx.dep_graph.with_eval_always_task(dep_node,
+ tcx,
+ key,
440
+ Self::compute_result)
441
+ } else {
442
+ tcx.dep_graph.with_task(dep_node,
443
444
445
446
+ }
447
})
448
})?;
449
profq_msg!(tcx, ProfileQueriesMsg::ProviderEnd);
0 commit comments