mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
3e52dee646
improve [`for_loops_over_fallibles`] to detect the usage of iter, iter_mut and into_iterator fix #6762 detects code like ```rust for _ in option.iter() { //.. } ``` changelog: Improve [`for_loops_over_fallibles`] to detect `for _ in option.iter() {}` or using `iter_mut()` or `into_iterator()`.