]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/force-warn/force-deny-by-default-lint.stderr
Auto merge of #86267 - ZuseZ4:master, r=nagisa
[rust.git] / src / test / ui / lint / force-warn / force-deny-by-default-lint.stderr
1 warning: any use of this value will cause an error
2   --> $DIR/force-deny-by-default-lint.rs:4:16
3    |
4 LL | const C: i32 = 1 / 0;
5    | ---------------^^^^^-
6    |                |
7    |                attempt to divide `1_i32` by zero
8    |
9    = note: warning forced by `force-warns` commandline option
10    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
11    = note: for more information, see issue #71800 <https://github.com/rust-lang/rust/issues/71800>
12
13 warning: 1 warning emitted
14