1 error: called `filter_map(..).next()` on an `Iterator`. This is more succinctly expressed by calling `.find_map(..)` instead
2 --> $DIR/filter_map_next_fixable.rs:8:32
4 LL | let element: Option<i32> = a.iter().filter_map(|s| s.parse().ok()).next();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `a.iter().find_map(|s| s.parse().ok())`
7 = note: `-D clippy::filter-map-next` implied by `-D warnings`
9 error: aborting due to previous error