clippy_utils::check_proc_macro

Function expr_search_pat

Source
fn expr_search_pat(tcx: TyCtxt<'_>, e: &Expr<'_>) -> (Pat, Pat)
Expand description

Get the search patterns to use for the given expression