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 90c1601 commit 0919a51Copy full SHA for 0919a51
compiler/rustc_query_system/src/query/plumbing.rs
@@ -286,7 +286,7 @@ where
286
// poisoned due to a panic instead.
287
let lock = query.query_state(qcx).active.get_shard_by_value(&key).lock();
288
match lock.get(&key) {
289
- poisoned @ Some(QueryResult::Poisoned) => poisoned.expect_job(query.name()),
+ Some(poisoned @ QueryResult::Poisoned) => poisoned.expect_job(query.name()),
290
_ => panic!(
291
"query result must in the cache or the query must be poisoned after a wait"
292
),
0 commit comments