Remove lint annotations in specific crates that are already enforced by rustbuild
Remove some random unnecessary lint `allow`s
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
register_long_diagnostics! {
|
||||
|
||||
E0511: r##"
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
use crate::attributes;
|
||||
use crate::llvm;
|
||||
use crate::llvm_util;
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#![feature(crate_visibility_modifier)]
|
||||
#![feature(extern_types)]
|
||||
#![feature(in_band_lifetimes)]
|
||||
#![allow(unused_attributes)]
|
||||
#![feature(libc)]
|
||||
#![feature(nll)]
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
@@ -22,7 +21,6 @@
|
||||
#![feature(static_nobundle)]
|
||||
#![feature(trusted_len)]
|
||||
#![feature(mem_take)]
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![deny(unused_lifetimes)]
|
||||
|
||||
use back::write::{create_target_machine, create_informational_target_machine};
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
#![deny(bare_trait_objects)]
|
||||
|
||||
pub use self::IntPredicate::*;
|
||||
pub use self::RealPredicate::*;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#![allow(non_upper_case_globals)]
|
||||
|
||||
pub use crate::llvm::Type;
|
||||
|
||||
use crate::llvm;
|
||||
|
||||
Reference in New Issue
Block a user