Skip to content

Commit 739938d

Browse files
committed
Auto merge of #106810 - oli-obk:resolver_reverse_plumbing, r=petrochenkov
Various cleanups around pre-TyCtxt queries and functions part of #105462 based on rust-lang/rust#106776 (everything starting at [0e2b39f](rust-lang/rust@0e2b39f) is new in this PR) r? `@petrochenkov` I think this should be most of the uncontroversial part of #105462.
2 parents 49a9438 + 08c7230 commit 739938d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debuginfo/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl DebugContext {
6868
.working_dir
6969
.to_string_lossy(FileNameDisplayPreference::Remapped)
7070
.into_owned();
71-
let (name, file_info) = match tcx.sess.local_crate_source_file.clone() {
71+
let (name, file_info) = match tcx.sess.local_crate_source_file() {
7272
Some(path) => {
7373
let name = path.to_string_lossy().into_owned();
7474
(name, None)

0 commit comments

Comments
 (0)