]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/const-eval/pub_const_err_bin.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / consts / const-eval / pub_const_err_bin.stderr
CommitLineData
a1dfa0c6 1warning: any use of this value will cause an error
532ac7d7 2 --> $DIR/pub_const_err_bin.rs:4:20
0531ce1d
XL
3 |
4LL | pub const Z: u32 = 0 - 1;
532ac7d7 5 | -------------------^^^^^-
8faf50e0
XL
6 | |
7 | attempt to subtract with overflow
0531ce1d 8 |
74b04a01 9note: the lint level is defined here
0731742a 10 --> $DIR/pub_const_err_bin.rs:2:9
94b46f34
XL
11 |
12LL | #![warn(const_err)]
13 | ^^^^^^^^^
0531ce1d 14
ba9703b0
XL
15warning: 1 warning emitted
16