Allow more lints, mainly overflowing_literals for cases that only arose on 32-bit.

This commit is contained in:
Felix S. Klock II 2018-09-04 14:33:34 +02:00
parent dc124e4d0b
commit 5fe0851548
8 changed files with 11 additions and 0 deletions

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(overflowing_literals)]
// Test that we cleanup a fixed size Box<[D; k]> properly when D has a
// destructor.

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(overflowing_literals)]
// Test that we cleanup dynamic sized Box<[D]> properly when D has a
// destructor.

View file

@ -9,6 +9,7 @@
// except according to those terms.
// run-pass
#![allow(overflowing_literals)]
// ignore-emscripten no threads support

View file

@ -10,6 +10,7 @@
// run-pass
#![allow(non_upper_case_globals)]
#![allow(overflowing_literals)]
fn foo() -> isize {
return 0xca7f000d;

View file

@ -12,6 +12,7 @@
#![allow(deprecated)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(overflowing_literals)]
use std::hash::{Hash, SipHasher, Hasher};
use std::mem::size_of;

View file

@ -10,6 +10,7 @@
// run-pass
#![allow(stable_features)]
#![allow(overflowing_literals)]
// ignore-emscripten

View file

@ -9,6 +9,8 @@
// except according to those terms.
// run-pass
#![allow(overflowing_literals)]
use std::mem::size_of;
enum Ei8 {

View file

@ -9,6 +9,9 @@
// except according to those terms.
// run-pass
#![allow(overflowing_literals)]
#![allow(dead_code)]
macro_rules! check {
($m:ident, $t:ty, $v:expr) => {{
mod $m {