]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/author/for_loop.stdout
MutImmutable -> Immutable, MutMutable -> Mutable, CaptureClause -> CaptureBy
[rust.git] / tests / ui / author / for_loop.stdout
index 0ad5834cd90e74306d13d00b01924860df4ecfb0..e61d3bb8ce154093b94f77f798c5c40c36f7dee6 100644 (file)
@@ -22,7 +22,7 @@ if_chain! {
     if let ExprKind::Path(ref path2) = func1.kind;
     if match_qpath(path2, &["{{root}}", "std", "iter", "Iterator", "next"]);
     if args1.len() == 1;
-    if let ExprKind::AddrOf(MutMutable, ref inner) = args1[0].kind;
+    if let ExprKind::AddrOf(Mutability::Mutable, ref inner) = args1[0].kind;
     if let ExprKind::Path(ref path3) = inner.kind;
     if match_qpath(path3, &["iter"]);
     if arms1.len() == 2;