1 error: any use of this value will cause an error
2 --> $DIR/const-eval-overflow2c.rs:16:6
4 LL | / const VALS_I8: (i8,) =
7 | | ^^^^^^^^^^^ attempt to compute `i8::MIN * 2_i8` which would overflow
11 note: the lint level is defined here
12 --> $DIR/const-eval-overflow2c.rs:8:9
14 LL | #![deny(const_err)]
17 error: any use of this value will cause an error
18 --> $DIR/const-eval-overflow2c.rs:22:6
20 LL | / const VALS_I16: (i16,) =
23 | | ^^^^^^^^^^^^ attempt to compute `i16::MIN * 2_i16` which would overflow
27 error: any use of this value will cause an error
28 --> $DIR/const-eval-overflow2c.rs:28:6
30 LL | / const VALS_I32: (i32,) =
33 | | ^^^^^^^^^^^^ attempt to compute `i32::MIN * 2_i32` which would overflow
37 error: any use of this value will cause an error
38 --> $DIR/const-eval-overflow2c.rs:34:6
40 LL | / const VALS_I64: (i64,) =
43 | | ^^^^^^^^^^^^ attempt to compute `i64::MIN * 2_i64` which would overflow
47 error: any use of this value will cause an error
48 --> $DIR/const-eval-overflow2c.rs:40:6
50 LL | / const VALS_U8: (u8,) =
53 | | ^^^^^^^^^^^ attempt to compute `u8::MAX * 2_u8` which would overflow
57 error: any use of this value will cause an error
58 --> $DIR/const-eval-overflow2c.rs:45:6
60 LL | / const VALS_U16: (u16,) = (
62 | | ^^^^^^^^^^^^ attempt to compute `u16::MAX * 2_u16` which would overflow
66 error: any use of this value will cause an error
67 --> $DIR/const-eval-overflow2c.rs:50:6
69 LL | / const VALS_U32: (u32,) = (
71 | | ^^^^^^^^^^^^ attempt to compute `u32::MAX * 2_u32` which would overflow
75 error: any use of this value will cause an error
76 --> $DIR/const-eval-overflow2c.rs:56:6
78 LL | / const VALS_U64: (u64,) =
81 | | ^^^^^^^^^^^^ attempt to compute `u64::MAX * 2_u64` which would overflow
85 error: aborting due to 8 previous errors