11if_chain! {
22 if let ExprKind::Block(ref block) = expr.node;
33 if let StmtKind::Decl(ref decl, _) = block.node
4- if let Decl_::DeclLocal (ref local) = decl.node;
4+ if let DeclKind::Local (ref local) = decl.node;
55 if let Some(ref init) = local.init
66 if let ExprKind::Match(ref expr, ref arms, MatchSource::ForLoopDesugar) = init.node;
77 if let ExprKind::Call(ref func, ref args) = expr.node;
@@ -15,7 +15,7 @@ if_chain! {
1515 if arms.len() == 1;
1616 if let ExprKind::Loop(ref body, ref label, LoopSource::ForLoop) = arms[0].body.node;
1717 if let StmtKind::Decl(ref decl1, _) = body.node
18- if let Decl_::DeclLocal (ref local1) = decl1.node;
18+ if let DeclKind::Local (ref local1) = decl1.node;
1919 if let PatKind::Binding(BindingAnnotation::Mutable, _, name, None) = local1.pat.node;
2020 if name.node.as_str() == "__next";
2121 if let StmtKind::Expr(ref e, _) = local1.pat.node
@@ -43,7 +43,7 @@ if_chain! {
4343 if let PatKind::Path(ref path7) = arms1[1].pats[0].node;
4444 if match_qpath(path7, &["{{root}}", "std", "option", "Option", "None"]);
4545 if let StmtKind::Decl(ref decl2, _) = path7.node
46- if let Decl_::DeclLocal (ref local2) = decl2.node;
46+ if let DeclKind::Local (ref local2) = decl2.node;
4747 if let Some(ref init1) = local2.init
4848 if let ExprKind::Path(ref path8) = init1.node;
4949 if match_qpath(path8, &["__next"]);
@@ -52,7 +52,7 @@ if_chain! {
5252 if let StmtKind::Expr(ref e1, _) = local2.pat.node
5353 if let ExprKind::Block(ref block1) = e1.node;
5454 if let StmtKind::Decl(ref decl3, _) = block1.node
55- if let Decl_::DeclLocal (ref local3) = decl3.node;
55+ if let DeclKind::Local (ref local3) = decl3.node;
5656 if let Some(ref init2) = local3.init
5757 if let ExprKind::Path(ref path9) = init2.node;
5858 if match_qpath(path9, &["y"]);
0 commit comments