We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1938ec0 + dd0004a commit 0a6b60bCopy full SHA for 0a6b60b
compiler/rustc_query_system/src/query/plumbing.rs
@@ -285,9 +285,8 @@ where
285
let lock = query.query_state(qcx).active.get_shard_by_value(&key).lock();
286
287
match lock.get(&key) {
288
- Some(QueryResult::Poisoned) => {
289
- panic!("query '{}' not cached due to poisoning", query.name())
290
- }
+ // The query we waited on panicked. Continue unwinding here.
+ Some(QueryResult::Poisoned) => FatalError.raise(),
291
_ => panic!(
292
"query '{}' result must be in the cache or the query must be poisoned after a wait",
293
query.name()
0 commit comments