error: called `filter(..).flat_map(..)` on an `Iterator`
  --> $DIR/filter_methods.rs:8:21
   |
LL |       let _: Vec<_> = vec![5_i8; 6]
   |  _____________________^
LL | |         .into_iter()
LL | |         .filter(|&x| x == 0)
LL | |         .flat_map(|x| x.checked_mul(2))
   | |_______________________________________^
   |
   = note: `-D clippy::filter-map` implied by `-D warnings`
   = help: this is more succinctly expressed by calling `.flat_map(..)` and filtering by returning `iter::empty()`

error: called `filter_map(..).flat_map(..)` on an `Iterator`
  --> $DIR/filter_methods.rs:14:21
   |
LL |       let _: Vec<_> = vec![5_i8; 6]
   |  _____________________^
LL | |         .into_iter()
LL | |         .filter_map(|x| x.checked_mul(2))
LL | |         .flat_map(|x| x.checked_mul(2))
   | |_______________________________________^
   |
   = help: this is more succinctly expressed by calling `.flat_map(..)` and filtering by returning `iter::empty()`

error: called `filter_map(..).map(..)` on an `Iterator`
  --> $DIR/filter_methods.rs:20:21
   |
LL |       let _: Vec<_> = vec![5_i8; 6]
   |  _____________________^
LL | |         .into_iter()
LL | |         .filter_map(|x| x.checked_mul(2))
LL | |         .map(|x| x.checked_mul(2))
   | |__________________________________^
   |
   = help: this is more succinctly expressed by only calling `.filter_map(..)` instead

error: aborting due to 3 previous errors

