Skip to content

Commit 0919a51

Browse files
committed
Wrong layer
1 parent 90c1601 commit 0919a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_query_system/src/query/plumbing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ where
286286
// poisoned due to a panic instead.
287287
let lock = query.query_state(qcx).active.get_shard_by_value(&key).lock();
288288
match lock.get(&key) {
289-
poisoned @ Some(QueryResult::Poisoned) => poisoned.expect_job(query.name()),
289+
Some(poisoned @ QueryResult::Poisoned) => poisoned.expect_job(query.name()),
290290
_ => panic!(
291291
"query result must in the cache or the query must be poisoned after a wait"
292292
),

0 commit comments

Comments
 (0)