Skip to content

Commit 6c45608

Browse files
wesleywisercuviper
authored andcommitted
Update compiler/rustc_codegen_llvm/src/lib.rs
Co-authored-by: Josh Stone <[email protected]> (cherry picked from commit 1011078)
1 parent 76e6681 commit 6c45608

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_llvm/src

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_llvm/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ impl ModuleLlvm {
471471
impl Drop for ModuleLlvm {
472472
fn drop(&mut self) {
473473
unsafe {
474-
drop(ManuallyDrop::take(&mut self.tm));
474+
ManuallyDrop::drop(&mut self.tm);
475475
llvm::LLVMContextDispose(&mut *(self.llcx as *mut _));
476476
}
477477
}

0 commit comments

Comments
 (0)