about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval/const-eval-overflow2c.stderr
blob: 99eeadf6b0d353558bfa238d0591e5b6f40cac4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
error[E0080]: attempt to compute `i8::MIN * 2_i8`, which would overflow
  --> $DIR/const-eval-overflow2c.rs:12:6
   |
LL |      i8::MIN * 2,
   |      ^^^^^^^^^^^ evaluation of `VALS_I8` failed here

error[E0080]: attempt to compute `i16::MIN * 2_i16`, which would overflow
  --> $DIR/const-eval-overflow2c.rs:18:6
   |
LL |      i16::MIN * 2,
   |      ^^^^^^^^^^^^ evaluation of `VALS_I16` failed here

error[E0080]: attempt to compute `i32::MIN * 2_i32`, which would overflow
  --> $DIR/const-eval-overflow2c.rs:24:6
   |
LL |      i32::MIN * 2,
   |      ^^^^^^^^^^^^ evaluation of `VALS_I32` failed here

error[E0080]: attempt to compute `i64::MIN * 2_i64`, which would overflow
  --> $DIR/const-eval-overflow2c.rs:30:6
   |
LL |      i64::MIN * 2,
   |      ^^^^^^^^^^^^ evaluation of `VALS_I64` failed here

error[E0080]: attempt to compute `u8::MAX * 2_u8`, which would overflow
  --> $DIR/const-eval-overflow2c.rs:36:6
   |
LL |      u8::MAX * 2,
   |      ^^^^^^^^^^^ evaluation of `VALS_U8` failed here

error[E0080]: attempt to compute `u16::MAX * 2_u16`, which would overflow
  --> $DIR/const-eval-overflow2c.rs:41:6
   |
LL |      u16::MAX * 2,
   |      ^^^^^^^^^^^^ evaluation of `VALS_U16` failed here

error[E0080]: attempt to compute `u32::MAX * 2_u32`, which would overflow
  --> $DIR/const-eval-overflow2c.rs:46:6
   |
LL |      u32::MAX * 2,
   |      ^^^^^^^^^^^^ evaluation of `VALS_U32` failed here

error[E0080]: attempt to compute `u64::MAX * 2_u64`, which would overflow
  --> $DIR/const-eval-overflow2c.rs:52:6
   |
LL |      u64::MAX * 2,
   |      ^^^^^^^^^^^^ evaluation of `VALS_U64` failed here

error: aborting due to 8 previous errors

For more information about this error, try `rustc --explain E0080`.