diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-26 12:58:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-26 12:58:34 +0200 |
| commit | 9e02642fb3f1f78793c24bbad9c39368e2024968 (patch) | |
| tree | 617cba4274a10947caff435bda020c5c55ac787f /compiler/rustc_codegen_ssa | |
| parent | 259e9477f4305f4939ced7fc6561ac7a615780ce (diff) | |
| parent | 12187b7f860e8e823eb5e399946746c4d2c1b1a7 (diff) | |
| download | rust-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_ssa')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/common.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_ssa/src/common.rs b/compiler/rustc_codegen_ssa/src/common.rs index e04ed531bbf..780b1d2cd94 100644 --- a/compiler/rustc_codegen_ssa/src/common.rs +++ b/compiler/rustc_codegen_ssa/src/common.rs @@ -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, |
