Skip to content

Commit ac9472d

Browse files
phanschavborhanian
andauthored
Update clippy_lints/src/types.rs
Co-Authored-By: avborhanian <[email protected]>
1 parent a022d47 commit ac9472d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ fn match_type_parameter(cx: &LateContext<'_, '_>, qpath: &QPath, path: &[&str])
242242
/// local bindings should only be checked for the `BORROWED_BOX` lint.
243243
#[allow(clippy::too_many_lines)]
244244
fn check_ty(cx: &LateContext<'_, '_>, hir_ty: &hir::Ty, is_local: bool) {
245-
if in_macro(ast_ty.span) {
245+
if in_macro(hir_ty.span) {
246246
return;
247247
}
248248
match hir_ty.node {

0 commit comments

Comments
 (0)