]> git.lizzy.rs Git - rust.git/blob - tests/ui/trailing_zeros.stdout
98025316da4d22cf69be068693486b5382d8fa6f
[rust.git] / tests / ui / trailing_zeros.stdout
1 if_let_chain!{[
2     let Expr_::ExprBinary(ref op, ref left, ref right) = expr.node,
3     BinOp_::BiEq == op.node,
4     let Expr_::ExprBinary(ref op1, ref left1, ref right1) = left.node,
5     BinOp_::BiBitAnd == op1.node,
6     let Expr_::ExprPath(ref path) = left1.node,
7     match_path(path, &["x"]),
8     let Expr_::ExprLit(ref lit) = right1.node,
9     let LitKind::Int(15, _) = lit.node,
10     let Expr_::ExprLit(ref lit1) = right.node,
11     let LitKind::Int(0, _) = lit1.node,
12 ], {
13     // report your lint here
14 }}