Skip to content

Commit 8d4d19d

Browse files
committed
add Typeof
1 parent a5570b9 commit 8d4d19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/check_proc_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ fn ast_ty_search_pat(ty: &ast::Ty) -> (Pat, Pat) {
496496
(Pat::Str(""), Pat::Str(""))
497497
}
498498
},
499-
_ => (Pat::Str(""), Pat::Str("")),
499+
TyKind::Typeof(_) | _ => (Pat::Str(""), Pat::Str("")),
500500
}
501501
}
502502

0 commit comments

Comments
 (0)