about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/temp_dir.rs
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2025-05-15 19:55:43 +0200
committerPhilipp Krones <hello@philkrones.com>2025-05-15 19:55:43 +0200
commit60750ca0a1e71f0ad8d2a66fbcecd75cd4e8bd3a (patch)
tree6f72dcf9c9a12043ef2c5bf229104a5a4c1646a9 /compiler/rustc_data_structures/src/temp_dir.rs
parentafa6d67f36dc0edf130d538ec208f88286aefecd (diff)
downloadrust-60750ca0a1e71f0ad8d2a66fbcecd75cd4e8bd3a.tar.gz
rust-60750ca0a1e71f0ad8d2a66fbcecd75cd4e8bd3a.zip
tempfile dep bump fallout
Diffstat (limited to 'compiler/rustc_data_structures/src/temp_dir.rs')
-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();
         }
     }
 }