mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-30 04:24:26 +00:00
Use structured suggestion for #113174 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()`.