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_span/src/lib.rs | |
| parent | 91958e0a7417727a8b65c7f2c163677a8d4ec75d (diff) | |
| download | rust-2c507cae363a71f16069bbf602aa50e00f3ceec4.tar.gz rust-2c507cae363a71f16069bbf602aa50e00f3ceec4.zip | |
Rename `cold_path` to `outline`
Diffstat (limited to 'compiler/rustc_span/src/lib.rs')
| -rw-r--r-- | compiler/rustc_span/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_span/src/lib.rs b/compiler/rustc_span/src/lib.rs index 68724c48037..c58fdbcb5e1 100644 --- a/compiler/rustc_span/src/lib.rs +++ b/compiler/rustc_span/src/lib.rs @@ -33,7 +33,7 @@ extern crate rustc_macros; #[macro_use] extern crate tracing; -use rustc_data_structures::{cold_path, AtomicRef}; +use rustc_data_structures::{outline, AtomicRef}; use rustc_macros::HashStable_Generic; use rustc_serialize::{Decodable, Decoder, Encodable, Encoder}; @@ -1592,7 +1592,7 @@ impl SourceFile { return &lines[..]; } - cold_path(|| { + outline(|| { self.convert_diffs_to_lines_frozen(); if let Some(SourceFileLines::Lines(lines)) = self.lines.get() { return &lines[..]; |
