1 error: any use of this value will cause an error
2 --> $DIR/const-eval-overflow2c.rs:14: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)]
16 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
17 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
19 error: any use of this value will cause an error
20 --> $DIR/const-eval-overflow2c.rs:21:6
22 LL | / const VALS_I16: (i16,) =
25 | | ^^^^^^^^^^^^ attempt to compute `i16::MIN * 2_i16`, which would overflow
29 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
30 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
32 error: any use of this value will cause an error
33 --> $DIR/const-eval-overflow2c.rs:28:6
35 LL | / const VALS_I32: (i32,) =
38 | | ^^^^^^^^^^^^ attempt to compute `i32::MIN * 2_i32`, which would overflow
42 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
43 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
45 error: any use of this value will cause an error
46 --> $DIR/const-eval-overflow2c.rs:35:6
48 LL | / const VALS_I64: (i64,) =
51 | | ^^^^^^^^^^^^ attempt to compute `i64::MIN * 2_i64`, which would overflow
55 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
56 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
58 error: any use of this value will cause an error
59 --> $DIR/const-eval-overflow2c.rs:42:6
61 LL | / const VALS_U8: (u8,) =
64 | | ^^^^^^^^^^^ attempt to compute `u8::MAX * 2_u8`, which would overflow
68 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
69 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
71 error: any use of this value will cause an error
72 --> $DIR/const-eval-overflow2c.rs:48:6
74 LL | / const VALS_U16: (u16,) = (
76 | | ^^^^^^^^^^^^ attempt to compute `u16::MAX * 2_u16`, which would overflow
80 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
81 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
83 error: any use of this value will cause an error
84 --> $DIR/const-eval-overflow2c.rs:54:6
86 LL | / const VALS_U32: (u32,) = (
88 | | ^^^^^^^^^^^^ attempt to compute `u32::MAX * 2_u32`, which would overflow
92 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
93 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
95 error: any use of this value will cause an error
96 --> $DIR/const-eval-overflow2c.rs:61:6
98 LL | / const VALS_U64: (u64,) =
101 | | ^^^^^^^^^^^^ attempt to compute `u64::MAX * 2_u64`, which would overflow
105 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
106 = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
108 error: aborting due to 8 previous errors