fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1warning: any use of this value will cause an error 2 --> $DIR/pub_const_err.rs:6:20 3 | 4LL | pub const Z: u32 = 0 - 1; 5 | -------------------^^^^^- 6 | | 7 | attempt to subtract with overflow 8 | 9note: the lint level is defined here 10 --> $DIR/pub_const_err.rs:2:9 11 | 12LL | #![warn(const_err)] 13 | ^^^^^^^^^ 14 15warning: 1 warning emitted 16