Skip to content

Commit cf8adaa

Browse files
committed
fix clippy
1 parent 3586a09 commit cf8adaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/clippy/clippy_utils/src/check_proc_macro.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ fn ast_ty_search_pat(ty: &ast::Ty) -> (Pat, Pat) {
523523
};
524524
(start, Pat::Str(""))
525525
},
526+
TyKind::FieldOf(..) => (Pat::Str("field_of!"), Pat::Str("")),
526527

527528
// implicit, so has no contents to match against
528529
TyKind::ImplicitSelf

0 commit comments

Comments
 (0)