]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/author.stdout
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / author.stdout
index a55b48985ad9c31322de154e6ac5a95df6a8eda4..b06fb1d21e3512ed5749a290dfee9f0dde7df55b 100644 (file)
@@ -1,11 +1,11 @@
 if_chain! {
-    if let Stmt_::StmtDecl(ref decl, _) = stmt.node
-    if let Decl_::DeclLocal(ref local) = decl.node;
+    if let StmtKind::Decl(ref decl, _) = stmt.node
+    if let DeclKind::Local(ref local) = decl.node;
     if let Some(ref init) = local.init
-    if let Expr_::ExprCast(ref expr, ref cast_ty) = init.node;
-    if let Ty_::TyPath(ref qp) = cast_ty.node;
+    if let ExprKind::Cast(ref expr, ref cast_ty) = init.node;
+    if let TyKind::Path(ref qp) = cast_ty.node;
     if match_qpath(qp, &["char"]);
-    if let Expr_::ExprLit(ref lit) = expr.node;
+    if let ExprKind::Lit(ref lit) = expr.node;
     if let LitKind::Int(69, _) = lit.node;
     if let PatKind::Binding(BindingAnnotation::Unannotated, _, name, None) = local.pat.node;
     if name.node.as_str() == "x";