Skip to content

Commit 6687f55

Browse files
committed
bless new clippy::author output
1 parent fb5fd98 commit 6687f55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/clippy/tests/ui/author/if.stdout

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ if_chain! {
3232
}
3333
if_chain! {
3434
if let ExprKind::If(cond, then, Some(else_expr)) = expr.kind;
35-
if let ExprKind::Let(pat, expr1, _) = cond.kind;
36-
if let PatKind::Lit(lit_expr) = pat.kind;
35+
if let ExprKind::Let(let_expr) = cond.kind;
36+
if let PatKind::Lit(lit_expr) = let_expr.pat.kind;
3737
if let ExprKind::Lit(ref lit) = lit_expr.kind;
3838
if let LitKind::Bool(true) = lit.node;
39-
if let ExprKind::Path(ref qpath) = expr1.kind;
39+
if let ExprKind::Path(ref qpath) = let_expr.init.kind;
4040
if match_qpath(qpath, &["a"]);
4141
if let ExprKind::Block(block, None) = then.kind;
4242
if block.stmts.is_empty();

0 commit comments

Comments
 (0)