1 error[E0080]: evaluation of constant value failed
2 --> $DIR/const-eval-overflow2b.rs:12:6
5 | ^^^^^^^^^^^ attempt to compute `i8::MAX + 1_i8`, which would overflow
7 error[E0080]: evaluation of constant value failed
8 --> $DIR/const-eval-overflow2b.rs:18:6
11 | ^^^^^^^^^^^^ attempt to compute `i16::MAX + 1_i16`, which would overflow
13 error[E0080]: evaluation of constant value failed
14 --> $DIR/const-eval-overflow2b.rs:24:6
17 | ^^^^^^^^^^^^ attempt to compute `i32::MAX + 1_i32`, which would overflow
19 error[E0080]: evaluation of constant value failed
20 --> $DIR/const-eval-overflow2b.rs:30:6
23 | ^^^^^^^^^^^^ attempt to compute `i64::MAX + 1_i64`, which would overflow
25 error[E0080]: evaluation of constant value failed
26 --> $DIR/const-eval-overflow2b.rs:36:6
29 | ^^^^^^^^^^^ attempt to compute `u8::MAX + 1_u8`, which would overflow
31 error[E0080]: evaluation of constant value failed
32 --> $DIR/const-eval-overflow2b.rs:41:6
35 | ^^^^^^^^^^^^ attempt to compute `u16::MAX + 1_u16`, which would overflow
37 error[E0080]: evaluation of constant value failed
38 --> $DIR/const-eval-overflow2b.rs:46:6
41 | ^^^^^^^^^^^^ attempt to compute `u32::MAX + 1_u32`, which would overflow
43 error[E0080]: evaluation of constant value failed
44 --> $DIR/const-eval-overflow2b.rs:52:6
47 | ^^^^^^^^^^^^ attempt to compute `u64::MAX + 1_u64`, which would overflow
49 error: aborting due to 8 previous errors
51 For more information about this error, try `rustc --explain E0080`.