about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/temp_dir.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-05-16 08:54:55 +0000
committerbors <bors@rust-lang.org>2025-05-16 08:54:55 +0000
commit1b9efcd18f1cb95348c3ffadd4db47bfa15292e5 (patch)
treedb6483f95099c4ec6e83804fbf7df35d0a227798 /compiler/rustc_data_structures/src/temp_dir.rs
parentc79bbfab78dcb0a72aa3b2bc35c00334b58bfe2e (diff)
parent60750ca0a1e71f0ad8d2a66fbcecd75cd4e8bd3a (diff)
downloadrust-1b9efcd18f1cb95348c3ffadd4db47bfa15292e5.tar.gz
rust-1b9efcd18f1cb95348c3ffadd4db47bfa15292e5.zip
Auto merge of #141044 - flip1995:clippy-subtree-update, r=Manishearth
Clippy subtree update

r? `@Manishearth`

Cargo.lock update due to Clippy version bump.
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();
         }
     }
 }