summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const_prop/ice-assert-fail-div-by-zero.stderr
blob: 865c69c3c89830bfa59d17596961544903839b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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