Skip to content

Commit e0d8fb9

Browse files
committed
tree-wide: parallel: Fully removed all Lrc, replaced with Arc
1 parent afe0843 commit e0d8fb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/debuginfo.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use std::ops::Range;
2+
use std::sync::Arc;
23

34
use gccjit::{Location, RValue};
45
use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext, VariableKind};
56
use rustc_codegen_ssa::traits::{DebugInfoBuilderMethods, DebugInfoCodegenMethods};
6-
use rustc_data_structures::sync::Lrc;
77
use rustc_index::bit_set::DenseBitSet;
88
use rustc_index::{Idx, IndexVec};
99
use rustc_middle::mir::{self, Body, SourceScope};
@@ -172,7 +172,7 @@ fn make_mir_scope<'gcc, 'tcx>(
172172
// `lookup_char_pos` return the right information instead.
173173
pub struct DebugLoc {
174174
/// Information about the original source file.
175-
pub file: Lrc<SourceFile>,
175+
pub file: Arc<SourceFile>,
176176
/// The (1-based) line number.
177177
pub line: u32,
178178
/// The (1-based) column number.

0 commit comments

Comments
 (0)