diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-09-25 03:27:25 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-09-25 22:54:07 +0200 |
| commit | 2c507cae363a71f16069bbf602aa50e00f3ceec4 (patch) | |
| tree | eaca48d6359d6ed0547520221155d1b80c7e1a4e /compiler/rustc_query_system | |
| parent | 91958e0a7417727a8b65c7f2c163677a8d4ec75d (diff) | |
| download | rust-2c507cae363a71f16069bbf602aa50e00f3ceec4.tar.gz rust-2c507cae363a71f16069bbf602aa50e00f3ceec4.zip | |
Rename `cold_path` to `outline`
Diffstat (limited to 'compiler/rustc_query_system')
| -rw-r--r-- | compiler/rustc_query_system/src/query/plumbing.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_query_system/src/query/plumbing.rs b/compiler/rustc_query_system/src/query/plumbing.rs index f93edffca79..ae8414ebba6 100644 --- a/compiler/rustc_query_system/src/query/plumbing.rs +++ b/compiler/rustc_query_system/src/query/plumbing.rs @@ -18,7 +18,7 @@ use rustc_data_structures::sharded::Sharded; use rustc_data_structures::stack::ensure_sufficient_stack; use rustc_data_structures::sync::Lock; #[cfg(parallel_compiler)] -use rustc_data_structures::{cold_path, sync}; +use rustc_data_structures::{outline, sync}; use rustc_errors::{DiagnosticBuilder, ErrorGuaranteed, FatalError}; use rustc_span::{Span, DUMMY_SP}; use std::cell::Cell; @@ -265,7 +265,7 @@ where match result { Ok(()) => { let Some((v, index)) = query.query_cache(qcx).lookup(&key) else { - cold_path(|| { + outline(|| { // We didn't find the query result in the query cache. Check if it was // poisoned due to a panic instead. let lock = query.query_state(qcx).active.get_shard_by_value(&key).lock(); |
