From 70a710b37520af01b96cd0b080cb1cf8c49028ea Mon Sep 17 00:00:00 2001 From: Manuel Drehwald Date: Tue, 28 Feb 2023 22:20:25 -0500 Subject: [PATCH] fix unused variable --- compiler/rustc_codegen_llvm/src/back/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs index b45dab18fab8a..65a5cef3aaef9 100644 --- a/compiler/rustc_codegen_llvm/src/back/write.rs +++ b/compiler/rustc_codegen_llvm/src/back/write.rs @@ -599,7 +599,7 @@ pub(crate) unsafe fn extract_return_type<'a>( ) -> &'a Value { //let llmod = module.module_llvm.llmod(); let context = llvm::LLVMGetModuleContext(llmod); - let f_type = LLVMTypeOf(fnc); + let _f_type = LLVMTypeOf(fnc); //dbg!("Unpacking", fnc_name.clone()); //dbg!("From: ", f_type, " into ", u_type);