]> git.lizzy.rs Git - rust.git/blob - tests/ui/const_prop/ice-assert-fail-div-by-zero.stderr
Rollup merge of #106625 - Swatinem:ref/cov6, r=nagisa
[rust.git] / tests / ui / const_prop / ice-assert-fail-div-by-zero.stderr
1 warning: this operation will panic at runtime
2   --> $DIR/ice-assert-fail-div-by-zero.rs:13:5
3    |
4 LL |     f.0 / 0;
5    |     ^^^^^^^ attempt to divide `_` by zero
6    |
7 note: the lint level is defined here
8   --> $DIR/ice-assert-fail-div-by-zero.rs:7:9
9    |
10 LL | #![warn(unconditional_panic)]
11    |         ^^^^^^^^^^^^^^^^^^^
12
13 warning: 1 warning emitted
14