Inline some hot lint pass functions.
These each have a single call site, due to being called from a "combined" lint pass.
This commit is contained in:
@@ -121,6 +121,7 @@ impl EarlyLintPass for HiddenUnicodeCodepoints {
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &ast::Expr) {
|
||||
// byte strings are already handled well enough by `EscapeError::NonAsciiCharInByteString`
|
||||
match &expr.kind {
|
||||
|
||||
Reference in New Issue
Block a user