Suppress some clippy lints

This commit is contained in:
David Tolnay 2017-09-16 14:22:05 -07:00
parent 37d2fda49b
commit a3dadb1557
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,7 @@
#![cfg_attr(feature = "i128", feature(i128_type, i128))] #![cfg_attr(feature = "i128", feature(i128_type, i128))]
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
#![feature(test)] #![feature(test)]
#![allow(non_snake_case)] #![allow(non_snake_case)]

View File

@ -10,6 +10,8 @@
#![cfg_attr(feature = "i128", feature(i128_type, i128))] #![cfg_attr(feature = "i128", feature(i128_type, i128))]
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless, unreadable_literal))]
#[cfg(feature = "i128")] #[cfg(feature = "i128")]
mod udiv128; mod udiv128;

View File

@ -1,4 +1,7 @@
#![cfg_attr(feature = "i128", feature(i128_type, i128))] #![cfg_attr(feature = "i128", feature(i128_type, i128))]
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless, string_lit_as_bytes))]
#![allow(non_snake_case)] #![allow(non_snake_case)]
extern crate itoa; extern crate itoa;