fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0080]: evaluation of constant value failed 2 --> $DIR/const-eval-overflow2c.rs:12:6 3 | 4LL | i8::MIN * 2, 5 | ^^^^^^^^^^^ attempt to compute `i8::MIN * 2_i8`, which would overflow 6 7error[E0080]: evaluation of constant value failed 8 --> $DIR/const-eval-overflow2c.rs:18:6 9 | 10LL | i16::MIN * 2, 11 | ^^^^^^^^^^^^ attempt to compute `i16::MIN * 2_i16`, which would overflow 12 13error[E0080]: evaluation of constant value failed 14 --> $DIR/const-eval-overflow2c.rs:24:6 15 | 16LL | i32::MIN * 2, 17 | ^^^^^^^^^^^^ attempt to compute `i32::MIN * 2_i32`, which would overflow 18 19error[E0080]: evaluation of constant value failed 20 --> $DIR/const-eval-overflow2c.rs:30:6 21 | 22LL | i64::MIN * 2, 23 | ^^^^^^^^^^^^ attempt to compute `i64::MIN * 2_i64`, which would overflow 24 25error[E0080]: evaluation of constant value failed 26 --> $DIR/const-eval-overflow2c.rs:36:6 27 | 28LL | u8::MAX * 2, 29 | ^^^^^^^^^^^ attempt to compute `u8::MAX * 2_u8`, which would overflow 30 31error[E0080]: evaluation of constant value failed 32 --> $DIR/const-eval-overflow2c.rs:41:6 33 | 34LL | u16::MAX * 2, 35 | ^^^^^^^^^^^^ attempt to compute `u16::MAX * 2_u16`, which would overflow 36 37error[E0080]: evaluation of constant value failed 38 --> $DIR/const-eval-overflow2c.rs:46:6 39 | 40LL | u32::MAX * 2, 41 | ^^^^^^^^^^^^ attempt to compute `u32::MAX * 2_u32`, which would overflow 42 43error[E0080]: evaluation of constant value failed 44 --> $DIR/const-eval-overflow2c.rs:52:6 45 | 46LL | u64::MAX * 2, 47 | ^^^^^^^^^^^^ attempt to compute `u64::MAX * 2_u64`, which would overflow 48 49error: aborting due to 8 previous errors 50 51For more information about this error, try `rustc --explain E0080`.