rust/tests/ui/const_prop/ice-assert-fail-div-by-zero.stderr
2023-01-11 09:32:08 +00:00

15 lines
353 B
Plaintext

warning: this operation will panic at runtime
--> $DIR/ice-assert-fail-div-by-zero.rs:13:5
|
LL | f.0 / 0;
| ^^^^^^^ attempt to divide `_` by zero
|
note: the lint level is defined here
--> $DIR/ice-assert-fail-div-by-zero.rs:7:9
|
LL | #![warn(unconditional_panic)]
| ^^^^^^^^^^^^^^^^^^^
warning: 1 warning emitted