1 #![allow(unused_imports)]
3 // Note: the relevant lint pass here runs before some of the constant
4 // evaluation below (e.g., that performed by codegen and llvm), so if you
5 // change this warn to a deny, then the compiler will exit before
6 // those errors are detected.
11 use std::{i8, i16, i32, i64, isize};
12 use std::{u8, u16, u32, u64, usize};
14 const VALS_I8: (i8,) =
18 //~^^ ERROR any use of this value will cause an error
20 const VALS_I16: (i16,) =
24 //~^^ ERROR any use of this value will cause an error
26 const VALS_I32: (i32,) =
30 //~^^ ERROR any use of this value will cause an error
32 const VALS_I64: (i64,) =
36 //~^^ ERROR any use of this value will cause an error
38 const VALS_U8: (u8,) =
42 //~^^ ERROR any use of this value will cause an error
44 const VALS_U16: (u16,) = (
47 //~^^ ERROR any use of this value will cause an error
49 const VALS_U32: (u32,) = (
52 //~^^ ERROR any use of this value will cause an error
54 const VALS_U64: (u64,) =
58 //~^^ ERROR any use of this value will cause an error