Function rustc_lint::builtin::matches_ellipsis_pat
source · fn matches_ellipsis_pat(pat: &Pat) -> Option<(Option<&Expr>, &Expr, Span)>Expand description
If pat is a ... pattern, return the start and end of the range, as well as the span
corresponding to the ellipsis.