about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorThe rustc-dev-guide Cronjob Bot <github-actions@github.com>2025-05-19 04:16:41 +0000
committerThe rustc-dev-guide Cronjob Bot <github-actions@github.com>2025-05-19 04:16:41 +0000
commit288ca059765372d2f009c840fae7c1e06a9071d8 (patch)
treea8c9f8be48d2ffa7889b02caa18a9d367876d008 /compiler/rustc_data_structures/src
parent70ead0af5be34bf03a9313be20fa610668b41340 (diff)
parente42bbfe1f7c26f8760a99c4b1f27d33aba1040bb (diff)
downloadrust-288ca059765372d2f009c840fae7c1e06a9071d8.tar.gz
rust-288ca059765372d2f009c840fae7c1e06a9071d8.zip
Merge from rustc
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();
         }
     }
 }