Closed
Description
openedon Jun 30, 2018
Example with cost_err
:
fn main() {
#[allow(const_err)]
let _x = 42 / 0;
}
#[allow(const_err)]
fn main() {
let _x = 42 / 0;
}
Expected: the same. Actual: warning in the first case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment