Re-allow clippy::integer_arithmetic at crate-level

This commit is contained in:
Trent Nelson
2021-02-16 14:48:20 -07:00
committed by Trent Nelson
parent 7035e8485c
commit 7f7370c306
73 changed files with 73 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#![allow(clippy::integer_arithmetic)]
#![feature(test)]
extern crate test;

View File

@@ -1,3 +1,4 @@
#![allow(clippy::integer_arithmetic)]
#![feature(test)]
extern crate solana_ledger;
extern crate test;

View File

@@ -1,3 +1,4 @@
#![allow(clippy::integer_arithmetic)]
#![feature(test)]
extern crate test;

View File

@@ -1,4 +1,5 @@
#![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(specialization))]
#![allow(clippy::integer_arithmetic)]
//! The `solana` library implements the Solana high-performance blockchain architecture.
//! It includes a full Rust implementation of the architecture (see
//! [Validator](server/struct.Validator.html)) as well as hooks to GPU implementations of its most

View File

@@ -1,3 +1,4 @@
#![allow(clippy::integer_arithmetic)]
use rayon::iter::ParallelIterator;
use rayon::prelude::*;
use serial_test::serial;

View File

@@ -1,3 +1,4 @@
#![allow(clippy::integer_arithmetic)]
use bincode::serialized_size;
use log::*;
use rayon::prelude::*;

View File

@@ -71,6 +71,7 @@
//! ```
//! time: 4007, tip converged: 10, trunk id: 3830, trunk time: 3827, trunk converged 100, trunk height 348
//! ```
#![allow(clippy::integer_arithmetic)]
extern crate rand;
use rand::{thread_rng, Rng};

View File

@@ -1,3 +1,4 @@
#![allow(clippy::integer_arithmetic)]
#[macro_use]
extern crate log;

View File

@@ -1,3 +1,4 @@
#![allow(clippy::integer_arithmetic)]
// Long-running ledger_cleanup tests
#[cfg(test)]

View File

@@ -1,4 +1,5 @@
// Long-running bank_forks tests
#![allow(clippy::integer_arithmetic)]
macro_rules! DEFINE_SNAPSHOT_VERSION_PARAMETERIZED_TEST_FUNCTIONS {
($x:ident, $y:ident, $z:ident) => {