about summary refs log tree commit diff
path: root/tests/ui/author/loop.stdout
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/author/loop.stdout')
-rw-r--r--tests/ui/author/loop.stdout2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/author/loop.stdout b/tests/ui/author/loop.stdout
index 631105a2238..609d2491061 100644
--- a/tests/ui/author/loop.stdout
+++ b/tests/ui/author/loop.stdout
@@ -12,7 +12,7 @@ if let Some(higher::ForLoop { pat: pat, arg: arg, body: body, .. }) = higher::Fo
     && let LitKind::Int(10, LitIntType::Unsuffixed) = lit1.node
     && let ExprKind::Block(block, None) = body.kind
     && block.stmts.len() == 1
-    && let StmtKind::Local(local) = block.stmts[0].kind
+    && let StmtKind::Let(local) = block.stmts[0].kind
     && let Some(init) = local.init
     && let ExprKind::Path(ref qpath1) = init.kind
     && match_qpath(qpath1, &["y"])