diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-09-02 01:28:04 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-09-02 08:14:06 +0200 |
| commit | a3ad045ea49b0613505e02bb0036575d1fc0c99f (patch) | |
| tree | 9bf3ec45f379760baa2dbeb6c51e6c71efb5226d /compiler/rustc_session/src | |
| parent | 50f0d666d3308f0b0a45842cbe725fcb5b3c3861 (diff) | |
| download | rust-a3ad045ea49b0613505e02bb0036575d1fc0c99f.tar.gz rust-a3ad045ea49b0613505e02bb0036575d1fc0c99f.zip | |
Rename `Freeze` to `FreezeLock`
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/cstore.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_session/src/cstore.rs b/compiler/rustc_session/src/cstore.rs index a86363b9cae..90f57be9324 100644 --- a/compiler/rustc_session/src/cstore.rs +++ b/compiler/rustc_session/src/cstore.rs @@ -7,7 +7,7 @@ use crate::utils::NativeLibKind; use crate::Session; use rustc_ast as ast; use rustc_data_structures::owned_slice::OwnedSlice; -use rustc_data_structures::sync::{self, AppendOnlyIndexVec, Freeze, RwLock}; +use rustc_data_structures::sync::{self, AppendOnlyIndexVec, FreezeLock, RwLock}; use rustc_hir::def_id::{CrateNum, DefId, LocalDefId, StableCrateId, LOCAL_CRATE}; use rustc_hir::definitions::{DefKey, DefPath, DefPathHash, Definitions}; use rustc_span::hygiene::{ExpnHash, ExpnId}; @@ -261,5 +261,5 @@ pub struct Untracked { pub cstore: RwLock<Box<CrateStoreDyn>>, /// Reference span for definitions. pub source_span: AppendOnlyIndexVec<LocalDefId, Span>, - pub definitions: Freeze<Definitions>, + pub definitions: FreezeLock<Definitions>, } |
