Allow more lints, mainly overflowing_literals for cases that only arose on 32-bit.
This commit is contained in:
parent
dc124e4d0b
commit
5fe0851548
8 changed files with 11 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(overflowing_literals)]
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
// run-pass
|
||||
#![allow(non_upper_case_globals)]
|
||||
#![allow(overflowing_literals)]
|
||||
|
||||
fn foo() -> isize {
|
||||
return 0xca7f000d;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
// run-pass
|
||||
#![allow(stable_features)]
|
||||
#![allow(overflowing_literals)]
|
||||
|
||||
// ignore-emscripten
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@
|
|||
// except according to those terms.
|
||||
|
||||
// run-pass
|
||||
#![allow(overflowing_literals)]
|
||||
|
||||
use std::mem::size_of;
|
||||
|
||||
enum Ei8 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue