Function rustc::hir::pat_util::necessary_variants [] [src]

pub fn necessary_variants(dm: &DefMap, pat: &Pat) -> Vec<DefId>
Unstable (rustc_private)

Return variants that are necessary to exist for the pattern to match.