1 error: Matching on `Some` with `ok()` is redundant
2 --> $DIR/ok_if_let.rs:7:5
4 7 | / if let Some(y) = x.parse().ok() {
11 note: lint level defined here
12 --> $DIR/ok_if_let.rs:4:9
14 4 | #![deny(if_let_some_result)]
16 = help: Consider matching on `Ok(y)` and removing the call to `ok` instead
18 error: aborting due to previous error