1 error: called `is_some()` after searching an `Iterator` with `find`
2 --> $DIR/search_is_some.rs:14:13
4 LL | let _ = v.iter().find(|&x| {
9 | |______________________________^
11 = note: `-D clippy::search-is-some` implied by `-D warnings`
12 = help: this is more succinctly expressed by calling `any()`
14 error: called `is_some()` after searching an `Iterator` with `position`
15 --> $DIR/search_is_some.rs:20:13
17 LL | let _ = v.iter().position(|&x| {
22 | |______________________________^
24 = help: this is more succinctly expressed by calling `any()`
26 error: called `is_some()` after searching an `Iterator` with `rposition`
27 --> $DIR/search_is_some.rs:26:13
29 LL | let _ = v.iter().rposition(|&x| {
34 | |______________________________^
36 = help: this is more succinctly expressed by calling `any()`
38 error: called `is_none()` after searching an `Iterator` with `find`
39 --> $DIR/search_is_some.rs:48:13
41 LL | let _ = v.iter().find(|&x| {
46 | |______________________________^
48 = help: this is more succinctly expressed by calling `any()` with negation
50 error: called `is_none()` after searching an `Iterator` with `position`
51 --> $DIR/search_is_some.rs:54:13
53 LL | let _ = v.iter().position(|&x| {
58 | |______________________________^
60 = help: this is more succinctly expressed by calling `any()` with negation
62 error: called `is_none()` after searching an `Iterator` with `rposition`
63 --> $DIR/search_is_some.rs:60:13
65 LL | let _ = v.iter().rposition(|&x| {
70 | |______________________________^
72 = help: this is more succinctly expressed by calling `any()` with negation
74 error: aborting due to 6 previous errors