about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/llvm/ffi.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-07-28 16:34:59 +0000
committerbors <bors@rust-lang.org>2019-07-28 16:34:59 +0000
commit4560cb830fce63fcffdc4558f4281aaac6a3a1ba (patch)
tree3863f24b2c59b79009465a6f60990acdfccffe30 /src/librustc_codegen_llvm/llvm/ffi.rs
parent023525dbda35748a10713471b948974b68a1c2cc (diff)
parent1a370109ec176fa33a9cac2fe143b43c56ebcfd9 (diff)
downloadrust-4560cb830fce63fcffdc4558f4281aaac6a3a1ba.tar.gz
rust-4560cb830fce63fcffdc4558f4281aaac6a3a1ba.zip
Auto merge of #62910 - petrochenkov:buildwarn2, r=Mark-Simulacrum
cleanup: Remove lint annotations in specific crates that are already enforced by rustbuild

Remove some random unnecessary lint `allow`s.

Deny `unused_lifetimes` through rustbuild.

r? @Mark-Simulacrum
Diffstat (limited to 'src/librustc_codegen_llvm/llvm/ffi.rs')
-rw-r--r--src/librustc_codegen_llvm/llvm/ffi.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/llvm/ffi.rs b/src/librustc_codegen_llvm/llvm/ffi.rs
index 8c6ea00eb8c..d82e1c68df0 100644
--- a/src/librustc_codegen_llvm/llvm/ffi.rs
+++ b/src/librustc_codegen_llvm/llvm/ffi.rs
@@ -1,3 +1,6 @@
+#![allow(non_camel_case_types)]
+#![allow(non_upper_case_globals)]
+
 use super::debuginfo::{
     DIBuilder, DIDescriptor, DIFile, DILexicalBlock, DISubprogram, DIType,
     DIBasicType, DIDerivedType, DICompositeType, DIScope, DIVariable,