pub trait WithSearchPat<'cx> {
type Context: LintContext;
// Required methods
fn search_pat(&self, cx: &Self::Context) -> (Pat, Pat);
fn span(&self) -> Span;
}
pub trait WithSearchPat<'cx> {
type Context: LintContext;
// Required methods
fn search_pat(&self, cx: &Self::Context) -> (Pat, Pat);
fn span(&self) -> Span;
}