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
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue