]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/mut_mut.rs
Rollup merge of #83092 - petrochenkov:qspan, r=estebank
[rust.git] / clippy_lints / src / mut_mut.rs
index 2f3cdb894f01c666de9fb75cec810b97594deca6..d7239b328bbcd0a7f245ba19b827ffbf67f1b856 100644 (file)
@@ -52,7 +52,7 @@ fn visit_expr(&mut self, expr: &'tcx hir::Expr<'_>) {
             return;
         }
 
-        if let Some((_, arg, body)) = higher::for_loop(expr) {
+        if let Some((_, arg, body, _)) = higher::for_loop(expr) {
             // A `for` loop lowers to:
             // ```rust
             // match ::std::iter::Iterator::next(&mut iter) {