Files
rust/tests/ui/consts/eval-enum.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
529 B
Plaintext
Raw Normal View History

error[E0080]: attempt to divide `1_isize` by zero
2018-12-25 08:56:47 -07:00
--> $DIR/eval-enum.rs:2:15
2018-08-08 14:28:26 +02:00
|
LL | DivZero = 1 / 0,
| ^^^^^ evaluation of `Test::DivZero::{constant#0}` failed here
2018-08-08 14:28:26 +02:00
error[E0080]: attempt to calculate the remainder of `1_isize` with a divisor of zero
--> $DIR/eval-enum.rs:4:15
2018-08-08 14:28:26 +02:00
|
LL | RemZero = 1 % 0,
| ^^^^^ evaluation of `Test::RemZero::{constant#0}` failed here
2018-08-08 14:28:26 +02:00
error: aborting due to 2 previous errors
2018-08-08 14:28:26 +02:00
For more information about this error, try `rustc --explain E0080`.