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() {
12 note: lint level defined here
13 --> $DIR/ok_if_let.rs:4:9
15 4 | #![deny(if_let_some_result)]
17 = help: Consider matching on `Ok(y)` and removing the call to `ok` instead
19 error: aborting due to previous error