blob: 0128b3b02898be74f869a73ce9b4196fdad97709 [file] [log] [blame]
if_chain! {
if let ExprKind::Block(ref block) = expr.node;
if let Some(trailing_expr) = &block.expr;
if block.stmts.len() == 0;
then {
// report your lint here
}
}
if_chain! {
then {
// report your lint here
}
}