about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2025-05-20 04:37:19 +0200
committerGitHub <noreply@github.com>2025-05-20 04:37:19 +0200
commit86662dced5b01e3ae93dabf07935c326e1c4ff7b (patch)
treeed40b1a03fd6a04ce8c24948efda9d26ec0f2178 /compiler/rustc_data_structures/src
parentbcf2b59833abf7fcd16bf0feff752e8cb778cfd9 (diff)
parent288ca059765372d2f009c840fae7c1e06a9071d8 (diff)
downloadrust-86662dced5b01e3ae93dabf07935c326e1c4ff7b.tar.gz
rust-86662dced5b01e3ae93dabf07935c326e1c4ff7b.zip
Merge pull request #2392 from rust-lang/rustc-pull
Rustc pull update
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/temp_dir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/temp_dir.rs b/compiler/rustc_data_structures/src/temp_dir.rs
index 4dbe11d707d..9adae049261 100644
--- a/compiler/rustc_data_structures/src/temp_dir.rs
+++ b/compiler/rustc_data_structures/src/temp_dir.rs
@@ -17,7 +17,7 @@ impl Drop for MaybeTempDir {
         // occur.
         let dir = unsafe { ManuallyDrop::take(&mut self.dir) };
         if self.keep {
-            let _ = dir.into_path();
+            let _ = dir.keep();
         }
     }
 }