]> git.lizzy.rs Git - rust.git/blob - tests/ui/author/blocks.stdout
Auto merge of #4591 - flip1995:rustup, r=flip1995
[rust.git] / tests / ui / author / blocks.stdout
1 if_chain! {
2     if let ExprKind::Block(ref block) = expr.kind;
3     if let Some(trailing_expr) = &block.expr;
4     if block.stmts.len() == 1;
5     if let StmtKind::Semi(ref e, _) = block.stmts[0].kind
6     if let ExprKind::Tup(ref elements) = e.kind;
7     if elements.len() == 0;
8     then {
9         // report your lint here
10     }
11 }
12 if_chain! {
13     then {
14         // report your lint here
15     }
16 }