]> git.lizzy.rs Git - rust.git/blob - src/test/ui/eval-enum.stderr
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simulacrum
[rust.git] / src / test / ui / eval-enum.stderr
1 error[E0080]: evaluation of constant value failed
2   --> $DIR/eval-enum.rs:2:15
3    |
4 LL |     DivZero = 1/0,
5    |               ^^^ attempt to divide `1_isize` by zero
6
7 error[E0080]: evaluation of constant value failed
8   --> $DIR/eval-enum.rs:5:15
9    |
10 LL |     RemZero = 1%0,
11    |               ^^^ attempt to calculate the remainder of `1_isize` with a divisor of zero
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0080`.