diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-10-19 19:17:33 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-10-20 18:51:15 +0200 |
| commit | b11ec29e2828fe4d3df9d78c57f0e548a594991f (patch) | |
| tree | 6f92c2067840e17bab07edf1200ddd1913865f6e /compiler/rustc_query_system/src | |
| parent | 8785b70774185b81d46d2392b3814cd081209c3e (diff) | |
| download | rust-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.rs | 2 |
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. |
