diff options
| author | Ada Alakbarova <ada.alakbarova@proton.me> | 2025-08-11 16:04:45 +0200 |
|---|---|---|
| committer | Ada Alakbarova <ada.alakbarova@proton.me> | 2025-08-22 15:03:26 +0200 |
| commit | 217fc30fb65bdbdc46f17ab1eee9bbd6d9286d21 (patch) | |
| tree | d2326e7e214a780acda745ad70978f760fc28890 | |
| parent | 457e0208dfbe916ed441586943195c294cd14162 (diff) | |
| download | rust-217fc30fb65bdbdc46f17ab1eee9bbd6d9286d21.tar.gz rust-217fc30fb65bdbdc46f17ab1eee9bbd6d9286d21.zip | |
(finally) implement `WithSearchPat`
| -rw-r--r-- | clippy_utils/src/check_proc_macro.rs | 1 |
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>; |
