mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
9d2eb66e1a
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()`.