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

@ -228,6 +228,7 @@ impl<'a, T: EarlyLintPass> ast_visit::Visitor<'a> for EarlyContextAndPass<'a, T>
}) => self.check_id(closure_id),
_ => {}
}
lint_callback!(self, check_expr_post, e);
}
fn visit_generic_arg(&mut self, arg: &'a ast::GenericArg) {