Skip to content

Commit 4de7e80

Browse files
committed
add MacCall
1 parent 2ff6a09 commit 4de7e80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_utils/src/check_proc_macro.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ fn ast_ty_search_pat(ty: &ast::Ty) -> (Pat, Pat) {
501501
(Pat::Str(""), Pat::Str(""))
502502
}
503503
},
504+
TyKind::MacCall(_) => (Pat::Str(""), Pat::MultiStr(&[")", "]", "}"])), // closing parens of the invocation
504505
_ => (Pat::Str(""), Pat::Str("")),
505506
}
506507
}

0 commit comments

Comments
 (0)