Update clippy_lints/src/types.rs
Co-Authored-By: avborhanian <avborhanian@gmail.com>
This commit is contained in:
parent
a022d47a6b
commit
ac9472d16e
@ -242,7 +242,7 @@ fn match_type_parameter(cx: &LateContext<'_, '_>, qpath: &QPath, path: &[&str])
|
||||
/// local bindings should only be checked for the `BORROWED_BOX` lint.
|
||||
#[allow(clippy::too_many_lines)]
|
||||
fn check_ty(cx: &LateContext<'_, '_>, hir_ty: &hir::Ty, is_local: bool) {
|
||||
if in_macro(ast_ty.span) {
|
||||
if in_macro(hir_ty.span) {
|
||||
return;
|
||||
}
|
||||
match hir_ty.node {
|
||||
|
Loading…
Reference in New Issue
Block a user