about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-09-26 12:58:34 +0200
committerGitHub <noreply@github.com>2020-09-26 12:58:34 +0200
commit9e02642fb3f1f78793c24bbad9c39368e2024968 (patch)
tree617cba4274a10947caff435bda020c5c55ac787f /compiler/rustc_codegen_llvm/src/builder.rs
parent259e9477f4305f4939ced7fc6561ac7a615780ce (diff)
parent12187b7f860e8e823eb5e399946746c4d2c1b1a7 (diff)
downloadrust-9e02642fb3f1f78793c24bbad9c39368e2024968.tar.gz
rust-9e02642fb3f1f78793c24bbad9c39368e2024968.zip
Rollup merge of #77211 - est31:remove_unused_allow, r=oli-obk
Remove unused #[allow(...)] statements from compiler/
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/builder.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/builder.rs b/compiler/rustc_codegen_llvm/src/builder.rs
index 27061acd5af..0c172dc33ba 100644
--- a/compiler/rustc_codegen_llvm/src/builder.rs
+++ b/compiler/rustc_codegen_llvm/src/builder.rs
@@ -930,7 +930,6 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
         unsafe { llvm::LLVMBuildSelect(self.llbuilder, cond, then_val, else_val, UNNAMED) }
     }
 
-    #[allow(dead_code)]
     fn va_arg(&mut self, list: &'ll Value, ty: &'ll Type) -> &'ll Value {
         unsafe { llvm::LLVMBuildVAArg(self.llbuilder, list, ty, UNNAMED) }
     }