summary refs log tree commit diff
path: root/src/test/ui/const_prop/ice-assert-fail-div-by-zero.stderr
blob: e2a3e4db8abd109edcc5e791a9c2bd2f0a456d84 (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:11: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:5:9
   |
LL | #![warn(unconditional_panic)]
   |         ^^^^^^^^^^^^^^^^^^^

warning: 1 warning emitted