fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: any use of this value will cause an error 2 --> $DIR/const-eval-overflow2.rs:16:6 3 | 4LL | / const VALS_I8: (i8,) = 5LL | | ( 6LL | | i8::MIN - 1, 7 | | ^^^^^^^^^^^ attempt to subtract with overflow 8LL | | ); 9 | |_______- 10 | 11note: the lint level is defined here 12 --> $DIR/const-eval-overflow2.rs:8:9 13 | 14LL | #![deny(const_err)] 15 | ^^^^^^^^^ 16 17error: any use of this value will cause an error 18 --> $DIR/const-eval-overflow2.rs:22:6 19 | 20LL | / const VALS_I16: (i16,) = 21LL | | ( 22LL | | i16::MIN - 1, 23 | | ^^^^^^^^^^^^ attempt to subtract with overflow 24LL | | ); 25 | |_______- 26 27error: any use of this value will cause an error 28 --> $DIR/const-eval-overflow2.rs:28:6 29 | 30LL | / const VALS_I32: (i32,) = 31LL | | ( 32LL | | i32::MIN - 1, 33 | | ^^^^^^^^^^^^ attempt to subtract with overflow 34LL | | ); 35 | |_______- 36 37error: any use of this value will cause an error 38 --> $DIR/const-eval-overflow2.rs:34:6 39 | 40LL | / const VALS_I64: (i64,) = 41LL | | ( 42LL | | i64::MIN - 1, 43 | | ^^^^^^^^^^^^ attempt to subtract with overflow 44LL | | ); 45 | |_______- 46 47error: any use of this value will cause an error 48 --> $DIR/const-eval-overflow2.rs:40:6 49 | 50LL | / const VALS_U8: (u8,) = 51LL | | ( 52LL | | u8::MIN - 1, 53 | | ^^^^^^^^^^^ attempt to subtract with overflow 54LL | | ); 55 | |_______- 56 57error: any use of this value will cause an error 58 --> $DIR/const-eval-overflow2.rs:45:6 59 | 60LL | / const VALS_U16: (u16,) = ( 61LL | | u16::MIN - 1, 62 | | ^^^^^^^^^^^^ attempt to subtract with overflow 63LL | | ); 64 | |_______- 65 66error: any use of this value will cause an error 67 --> $DIR/const-eval-overflow2.rs:50:6 68 | 69LL | / const VALS_U32: (u32,) = ( 70LL | | u32::MIN - 1, 71 | | ^^^^^^^^^^^^ attempt to subtract with overflow 72LL | | ); 73 | |_______- 74 75error: any use of this value will cause an error 76 --> $DIR/const-eval-overflow2.rs:56:6 77 | 78LL | / const VALS_U64: (u64,) = 79LL | | ( 80LL | | u64::MIN - 1, 81 | | ^^^^^^^^^^^^ attempt to subtract with overflow 82LL | | ); 83 | |_______- 84 85error: aborting due to 8 previous errors 86