Skip to content

Commit 4191de3

Browse files
committed
Update check_proc_macro.rs
1 parent a434a77 commit 4191de3

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

clippy_utils/src/check_proc_macro.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -319,19 +319,6 @@ fn attr_search_pat(attr: &Attribute) -> (Pat, Pat) {
319319
}
320320
}
321321

322-
// TODO: Waiting on `ty_search_pat`.
323-
// fn where_pred_search_pat(where_pred: &WherePredicate<'_>) -> (Pat, Pat) {
324-
// match where_pred {
325-
// WherePredicate::BoundPredicate(bound) => {
326-
// todo!();
327-
// },
328-
// WherePredicate::RegionPredicate(region) => {
329-
//
330-
// },
331-
// WherePredicate::EqPredicate(..) => unimplemented!(),
332-
// }
333-
// }
334-
335322
fn ty_search_pat(ty: &Ty<'_>) -> (Pat, Pat) {
336323
match ty.kind {
337324
TyKind::Slice(..) | TyKind::Array(..) => (Pat::Str("["), Pat::Str("]")),

0 commit comments

Comments
 (0)