1
Fork 0

Address review.

This commit is contained in:
Camille GILLOT 2021-10-19 19:17:33 +02:00
parent 8785b70774
commit b11ec29e28
2 changed files with 1 additions and 8 deletions

View file

@ -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.