]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/crashes/ice-5872.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / crashes / ice-5872.stderr
CommitLineData
f20569fa
XL
1error: avoid using `collect()` when not needed
2 --> $DIR/ice-5872.rs:4:39
3 |
4LL | let _ = vec![1, 2, 3].into_iter().collect::<Vec<_>>().is_empty();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `next().is_none()`
6 |
7 = note: `-D clippy::needless-collect` implied by `-D warnings`
8
9error: aborting due to previous error
10