Skip to content

Commit

Permalink
Move compiler input and ouput paths into session
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jan 16, 2023
1 parent 4e47bd0 commit 08c7230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debuginfo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl DebugContext {
.working_dir
.to_string_lossy(FileNameDisplayPreference::Remapped)
.into_owned();
let (name, file_info) = match tcx.sess.local_crate_source_file.clone() {
let (name, file_info) = match tcx.sess.local_crate_source_file() {
Some(path) => {
let name = path.to_string_lossy().into_owned();
(name, None)
Expand Down

0 comments on commit 08c7230

Please sign in to comment.