about summary refs log tree commit diff
path: root/compiler/rustc_query_system/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-10-19 19:17:33 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-10-20 18:51:15 +0200
commitb11ec29e2828fe4d3df9d78c57f0e548a594991f (patch)
tree6f92c2067840e17bab07edf1200ddd1913865f6e /compiler/rustc_query_system/src
parent8785b70774185b81d46d2392b3814cd081209c3e (diff)
downloadrust-b11ec29e2828fe4d3df9d78c57f0e548a594991f.tar.gz
rust-b11ec29e2828fe4d3df9d78c57f0e548a594991f.zip
Address review.
Diffstat (limited to 'compiler/rustc_query_system/src')
-rw-r--r--compiler/rustc_query_system/src/query/plumbing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/query/plumbing.rs b/compiler/rustc_query_system/src/query/plumbing.rs
index 1326ad4f6c1..056611317dc 100644
--- a/compiler/rustc_query_system/src/query/plumbing.rs
+++ b/compiler/rustc_query_system/src/query/plumbing.rs
@@ -713,7 +713,7 @@ where
     Q::Key: DepNodeParams<CTX::DepContext>,
     CTX: QueryContext,
 {
-    debug_assert!(!Q::ANON);
+    assert!(!Q::ANON);
 
     // We may be concurrently trying both execute and force a query.
     // Ensure that only one of them runs the query.