diagnostics: avoid wrong unused_parens
on x as (T) < y
This commit is contained in:
parent
91942134c6
commit
62835c9531
5 changed files with 189 additions and 1 deletions
|
@ -153,6 +153,7 @@ macro_rules! early_lint_methods {
|
|||
fn check_pat(a: &ast::Pat);
|
||||
fn check_pat_post(a: &ast::Pat);
|
||||
fn check_expr(a: &ast::Expr);
|
||||
fn check_expr_post(a: &ast::Expr);
|
||||
fn check_ty(a: &ast::Ty);
|
||||
fn check_generic_arg(a: &ast::GenericArg);
|
||||
fn check_generic_param(a: &ast::GenericParam);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue