about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAda Alakbarova <ada.alakbarova@proton.me>2025-08-11 16:04:45 +0200
committerAda Alakbarova <ada.alakbarova@proton.me>2025-08-22 15:03:26 +0200
commit217fc30fb65bdbdc46f17ab1eee9bbd6d9286d21 (patch)
treed2326e7e214a780acda745ad70978f760fc28890
parent457e0208dfbe916ed441586943195c294cd14162 (diff)
downloadrust-217fc30fb65bdbdc46f17ab1eee9bbd6d9286d21.tar.gz
rust-217fc30fb65bdbdc46f17ab1eee9bbd6d9286d21.zip
(finally) implement `WithSearchPat`
-rw-r--r--clippy_utils/src/check_proc_macro.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_utils/src/check_proc_macro.rs b/clippy_utils/src/check_proc_macro.rs
index 649460dd875..47f9d0591e9 100644
--- a/clippy_utils/src/check_proc_macro.rs
+++ b/clippy_utils/src/check_proc_macro.rs
@@ -570,6 +570,7 @@ impl_with_search_pat!((_cx: LateContext<'tcx>, self: Lit) => lit_search_pat(&sel
 impl_with_search_pat!((_cx: LateContext<'tcx>, self: Path<'_>) => path_search_pat(self));
 
 impl_with_search_pat!((_cx: EarlyContext<'tcx>, self: Attribute) => attr_search_pat(self));
+impl_with_search_pat!((_cx: EarlyContext<'tcx>, self: ast::Ty) => ast_ty_search_pat(self));
 
 impl<'cx> WithSearchPat<'cx> for (&FnKind<'cx>, &Body<'cx>, HirId, Span) {
     type Context = LateContext<'cx>;