From 567e54aaa3d6cf57296a33e23fe133d473b77b29 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Thu, 11 Mar 2021 20:34:30 -0700 Subject: [PATCH] frozen-abi: disallow integer arithmetic lint --- frozen-abi/macro/src/lib.rs | 1 - frozen-abi/src/lib.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/frozen-abi/macro/src/lib.rs b/frozen-abi/macro/src/lib.rs index 2298bc30fb..be7d5da96c 100644 --- a/frozen-abi/macro/src/lib.rs +++ b/frozen-abi/macro/src/lib.rs @@ -1,4 +1,3 @@ -#![allow(clippy::integer_arithmetic)] extern crate proc_macro; #[cfg(RUSTC_WITH_SPECIALIZATION)] diff --git a/frozen-abi/src/lib.rs b/frozen-abi/src/lib.rs index 02ecdf7b27..4641f74ca0 100644 --- a/frozen-abi/src/lib.rs +++ b/frozen-abi/src/lib.rs @@ -1,6 +1,5 @@ #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(specialization))] #![cfg_attr(RUSTC_NEEDS_PROC_MACRO_HYGIENE, feature(proc_macro_hygiene))] -#![allow(clippy::integer_arithmetic)] // Allows macro expansion of `use ::solana_frozen_abi::*` to work within this crate extern crate self as solana_frozen_abi;