]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/crashes/ice-9041.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / crashes / ice-9041.stderr
1 error: called `is_some()` after searching an `Iterator` with `find`
2 --> $DIR/ice-9041.rs:5:19
3 |
4 LL | things.iter().find(|p| is_thing_ready(p)).is_some()
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `any()` instead: `any(|p| is_thing_ready(&p))`
6 |
7 = note: `-D clippy::search-is-some` implied by `-D warnings`
8
9 error: aborting due to previous error
10