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