1
Fork 0

diagnostics: avoid wrong unused_parens on x as (T) < y

This commit is contained in:
Michael Howell 2023-08-31 19:11:58 -07:00
parent 91942134c6
commit 62835c9531
5 changed files with 189 additions and 1 deletions

View file

@ -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);