error: it is more concise to loop over references to containers instead of using explicit iteration methods --> tests/ui/crashes/ice-11230.rs:8:14 | LL | for v in A.iter() {} | ^^^^^^^^ help: to write this more concisely, try: `A` | = note: `-D clippy::explicit-iter-loop` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::explicit_iter_loop)]` error: avoid using `collect()` when not needed --> tests/ui/crashes/ice-11230.rs:15:7 | LL | w.collect::>().is_empty(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `next().is_none()` | = note: `-D clippy::needless-collect` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_collect)]` error: aborting due to 2 previous errors