1
Fork 0

Use Freeze for SourceFile.lines

This commit is contained in:
John Kåre Alsaker 2023-08-31 22:12:47 +02:00
parent c5996b80be
commit f49382c050
11 changed files with 199 additions and 179 deletions

View file

@ -328,7 +328,7 @@ impl SourceMap {
name_hash: Hash128,
source_len: u32,
cnum: CrateNum,
file_local_lines: Lock<SourceFileLines>,
file_local_lines: FreezeLock<SourceFileLines>,
multibyte_chars: Vec<MultiByteChar>,
non_narrow_chars: Vec<NonNarrowChar>,
normalized_pos: Vec<NormalizedPos>,