]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/trailing_zeros.stdout
New upstream version 1.28.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / trailing_zeros.stdout
1 if_chain! {
2 if let Expr_::ExprBinary(ref op, ref left, ref right) = expr.node;
3 if BinOp_::BiEq == op.node;
4 if let Expr_::ExprBinary(ref op1, ref left1, ref right1) = left.node;
5 if BinOp_::BiBitAnd == op1.node;
6 if let Expr_::ExprPath(ref path) = left1.node;
7 if match_qpath(path, &["x"]);
8 if let Expr_::ExprLit(ref lit) = right1.node;
9 if let LitKind::Int(15, _) = lit.node;
10 if let Expr_::ExprLit(ref lit1) = right.node;
11 if let LitKind::Int(0, _) = lit1.node;
12 then {
13 // report your lint here
14 }
15 }