Skip to content

Commit 59c6c5a

Browse files
committed
Don't try to mark eval_always queries as green before running them
1 parent 0426faa commit 59c6c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/query/plumbing.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
400400
return Ok(result);
401401
}
402402

403-
if !dep_node.kind.is_input() {
403+
if !dep_node.kind.is_input() && !dep_node.kind.is_eval_always() {
404404
if let Some((prev_dep_node_index,
405405
dep_node_index)) = self.dep_graph.try_mark_green_and_read(self,
406406
&dep_node) {

0 commit comments

Comments
 (0)