]> git.lizzy.rs Git - rust.git/blob - tests/ui/author.stdout
Merge pull request #2479 from gnieto/fix/authorLint
[rust.git] / tests / ui / author.stdout
1 if_chain! {
2     if let Expr_::ExprCast(ref expr, ref cast_ty) = stmt.node;
3     if let Ty_::TyPath(ref qp) = cast_ty.node;
4     if match_qpath(qp, &["char"]);
5     if let Expr_::ExprLit(ref lit) = expr.node;
6     if let LitKind::Int(69, _) = lit.node;
7     then {
8         // report your lint here
9     }
10 }