Type Alias rustc_pattern_analysis::rustc::RedundancyExplanation

source ·
pub type RedundancyExplanation<'p, 'tcx> = RedundancyExplanation<'p, RustcPatCtxt<'p, 'tcx>>;

Aliased Type§

struct RedundancyExplanation<'p, 'tcx> {
    pub covered_by: Vec<&'p DeconstructedPat<RustcPatCtxt<'p, 'tcx>>>,
}

Fields§

§covered_by: Vec<&'p DeconstructedPat<RustcPatCtxt<'p, 'tcx>>>

All the values matched by this pattern are already matched by the given set of patterns. This list is not guaranteed to be minimal but the contained patterns are at least guaranteed to intersect this pattern.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 24 bytes