2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const-eval-overflow2c.rs:12:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | i8::MIN * 2,
|
|
|
|
| ^^^^^^^^^^^ attempt to compute `i8::MIN * 2_i8`, which would overflow
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const-eval-overflow2c.rs:18:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | i16::MIN * 2,
|
|
|
|
| ^^^^^^^^^^^^ attempt to compute `i16::MIN * 2_i16`, which would overflow
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const-eval-overflow2c.rs:24:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | i32::MIN * 2,
|
|
|
|
| ^^^^^^^^^^^^ attempt to compute `i32::MIN * 2_i32`, which would overflow
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const-eval-overflow2c.rs:30:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | i64::MIN * 2,
|
|
|
|
| ^^^^^^^^^^^^ attempt to compute `i64::MIN * 2_i64`, which would overflow
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const-eval-overflow2c.rs:36:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | u8::MAX * 2,
|
|
|
|
| ^^^^^^^^^^^ attempt to compute `u8::MAX * 2_u8`, which would overflow
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const-eval-overflow2c.rs:41:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | u16::MAX * 2,
|
|
|
|
| ^^^^^^^^^^^^ attempt to compute `u16::MAX * 2_u16`, which would overflow
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const-eval-overflow2c.rs:46:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | u32::MAX * 2,
|
|
|
|
| ^^^^^^^^^^^^ attempt to compute `u32::MAX * 2_u32`, which would overflow
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/const-eval-overflow2c.rs:52:6
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | u64::MAX * 2,
|
|
|
|
| ^^^^^^^^^^^^ attempt to compute `u64::MAX * 2_u64`, which would overflow
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2018-09-19 10:22:03 -05:00
|
|
|
error: aborting due to 8 previous errors
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 06:05:20 -05:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|