diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2023-11-29 18:00:41 -0600 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-12-04 09:51:02 -0500 |
| commit | f0444a5a28b9b2e4ec1eed57b365100158f8e2f4 (patch) | |
| tree | abe7866b80918b028c75f3e2f1824ef39db681fd | |
| parent | 23030871cc21fbbc659026f8e9b1ff52dd010892 (diff) | |
| download | rust-f0444a5a28b9b2e4ec1eed57b365100158f8e2f4.tar.gz rust-f0444a5a28b9b2e4ec1eed57b365100158f8e2f4.zip | |
Update compiler/rustc_codegen_llvm/src/lib.rs
Co-authored-by: Josh Stone <cuviper@gmail.com>
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs index 31d6c1ab2a7..9c5edd6bd8a 100644 --- a/compiler/rustc_codegen_llvm/src/lib.rs +++ b/compiler/rustc_codegen_llvm/src/lib.rs @@ -467,7 +467,7 @@ impl ModuleLlvm { impl Drop for ModuleLlvm { fn drop(&mut self) { unsafe { - drop(ManuallyDrop::take(&mut self.tm)); + ManuallyDrop::drop(&mut self.tm); llvm::LLVMContextDispose(&mut *(self.llcx as *mut _)); } } |
