1
Fork 0

Rollup merge of #77211 - est31:remove_unused_allow, r=oli-obk

Remove unused #[allow(...)] statements from compiler/
This commit is contained in:
Ralf Jung 2020-09-26 12:58:34 +02:00 committed by GitHub
commit 9e02642fb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 2 additions and 28 deletions

View file

@ -1,4 +1,4 @@
#![allow(non_camel_case_types, non_snake_case)]
#![allow(non_camel_case_types)]
use rustc_errors::struct_span_err;
use rustc_hir as hir;
@ -25,7 +25,6 @@ pub enum IntPredicate {
IntSLE,
}
#[allow(dead_code)]
pub enum RealPredicate {
RealPredicateFalse,
RealOEQ,
@ -60,7 +59,6 @@ pub enum AtomicRmwBinOp {
}
pub enum AtomicOrdering {
#[allow(dead_code)]
NotAtomic,
Unordered,
Monotonic,