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.
12 const VALS_I8: (i8,) =
16 //~^^ ERROR any use of this value will cause an error
18 const VALS_I16: (i16,) =
22 //~^^ ERROR any use of this value will cause an error
24 const VALS_I32: (i32,) =
28 //~^^ ERROR any use of this value will cause an error
30 const VALS_I64: (i64,) =
34 //~^^ ERROR any use of this value will cause an error
36 const VALS_U8: (u8,) =
40 //~^^ ERROR any use of this value will cause an error
42 const VALS_U16: (u16,) = (
45 //~^^ ERROR any use of this value will cause an error
47 const VALS_U32: (u32,) = (
50 //~^^ ERROR any use of this value will cause an error
52 const VALS_U64: (u64,) =
56 //~^^ ERROR any use of this value will cause an error