fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
769 B32 linesraw
1error: literal out of range for `i8`
2  --> $DIR/enum-discrim-too-small2.rs:8:11
3   |
4LL |     Ci8 = 223,
5   |           ^^^
6   |
7note: the lint level is defined here
8  --> $DIR/enum-discrim-too-small2.rs:1:9
9   |
10LL | #![deny(overflowing_literals)]
11   |         ^^^^^^^^^^^^^^^^^^^^
12
13error: literal out of range for `i16`
14  --> $DIR/enum-discrim-too-small2.rs:15:12
15   |
16LL |     Ci16 = 55555,
17   |            ^^^^^
18
19error: literal out of range for `i32`
20  --> $DIR/enum-discrim-too-small2.rs:22:12
21   |
22LL |     Ci32 = 3_000_000_000,
23   |            ^^^^^^^^^^^^^
24
25error: literal out of range for `i64`
26  --> $DIR/enum-discrim-too-small2.rs:29:12
27   |
28LL |     Ci64 = 9223372036854775809,
29   |            ^^^^^^^^^^^^^^^^^^^
30
31error: aborting due to 4 previous errors
32