diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-12-07 09:24:00 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-01-16 14:46:44 +0000 |
| commit | 08c7230989ff02471aeaf93aa4325a8ef6e9c30d (patch) | |
| tree | eac6ea649f87a2da3608cb497dce9c0582ebb050 | |
| parent | 4e47bd0464ce119a903e95b2dc20260258776d8e (diff) | |
| download | rust-08c7230989ff02471aeaf93aa4325a8ef6e9c30d.tar.gz rust-08c7230989ff02471aeaf93aa4325a8ef6e9c30d.zip | |
Move compiler input and ouput paths into session
| -rw-r--r-- | src/debuginfo/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debuginfo/mod.rs b/src/debuginfo/mod.rs index 2ba012a77b0..28fbcb15b2b 100644 --- a/src/debuginfo/mod.rs +++ b/src/debuginfo/mod.rs @@ -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) |
