1 // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 #![allow(unused_imports)]
13 // Note: the relevant lint pass here runs before some of the constant
14 // evaluation below (e.g., that performed by codegen and llvm), so if you
15 // change this warn to a deny, then the compiler will exit before
16 // those errors are detected.
21 use std::{i8, i16, i32, i64, isize};
22 use std::{u8, u16, u32, u64, usize};
24 const VALS_I8: (i8,) = //~ ERROR any use of this value will cause an error
29 const VALS_I16: (i16,) = //~ ERROR any use of this value will cause an error
34 const VALS_I32: (i32,) = //~ ERROR any use of this value will cause an error
39 const VALS_I64: (i64,) = //~ ERROR any use of this value will cause an error
44 const VALS_U8: (u8,) = //~ ERROR any use of this value will cause an error
49 const VALS_U16: (u16,) = ( //~ ERROR any use of this value will cause an error
53 const VALS_U32: (u32,) = ( //~ ERROR any use of this value will cause an error
57 const VALS_U64: (u64,) = //~ ERROR any use of this value will cause an error