]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/crashes/ice-9041.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / crashes / ice-9041.stderr
CommitLineData
064997fb
FG
1error: called `is_some()` after searching an `Iterator` with `find`
2 --> $DIR/ice-9041.rs:5:19
3 |
4LL | 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`
781aab86 8 = help: to override `-D warnings` add `#[allow(clippy::search_is_some)]`
064997fb
FG
9
10error: aborting due to previous error
11