1 error: Matching on `Some` with `ok()` is redundant
2 --> $DIR/ok_if_let.rs:4:5
4 LL | / if let Some(y) = x.parse().ok() {
11 = note: `-D clippy::if-let-some-result` implied by `-D warnings`
12 = help: Consider matching on `Ok(y)` and removing the call to `ok` instead
14 error: aborting due to previous error