fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
458 B15 linesraw
1error[E0080]: evaluation of constant value failed
2  --> $DIR/eval-enum.rs:2:15
3   |
4LL |     DivZero = 1/0,
5   |               ^^^ attempt to divide by zero
6
7error[E0080]: evaluation of constant value failed
8  --> $DIR/eval-enum.rs:5:15
9   |
10LL |     RemZero = 1%0,
11   |               ^^^ attempt to calculate the remainder with a divisor of zero
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0080`.