]> git.lizzy.rs Git - rust.git/blob - tests/ui/trailing_zeros.stdout
Adapt the *.stderr files of the ui-tests to the tool_lints
[rust.git] / tests / ui / trailing_zeros.stdout
1 if_chain! {
2     if let ExprKind::Binary(ref op, ref left, ref right) = expr.node;
3     if BinOpKind::Eq == op.node;
4     if let ExprKind::Binary(ref op1, ref left1, ref right1) = left.node;
5     if BinOpKind::BitAnd == op1.node;
6     if let ExprKind::Path(ref path) = left1.node;
7     if match_qpath(path, &["x"]);
8     if let ExprKind::Lit(ref lit) = right1.node;
9     if let LitKind::Int(15, _) = lit.node;
10     if let ExprKind::Lit(ref lit1) = right.node;
11     if let LitKind::Int(0, _) = lit1.node;
12     then {
13         // report your lint here
14     }
15 }