1 warning: any use of this value will cause an error
2 --> $DIR/pub_const_err.rs:6:20
4 LL | pub const Z: u32 = 0 - 1;
5 | -------------------^^^^^-
7 | attempt to subtract with overflow
9 note: the lint level is defined here
10 --> $DIR/pub_const_err.rs:2:9
12 LL | #![warn(const_err)]
15 warning: 1 warning emitted