mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 21:15:33 +00:00
When encountering a for loop that is rejected by the borrow checker because it is being advanced within its body, provide a structured suggestion for `while let Some(pat) = iter.next()`.