/// Iterate over the first constructor of each row
Iterate over the first constructor of each row
Iterate over the first constructor of each row
pub(super) fn head_ctors<'a>(
        &'a self,
        cx: &'a MatchCheckCtxt<'p, 'tcx>,
    ) -> impl Iterator<Item = &'a Constructor<'tcx>> + Captures<'a> + Captures<'p> {
        self.patterns.iter().map(move |r| r.head_ctor(cx))
    }
pub ( super ) fn head_ctors < ' a > ( & ' a self , cx : & ' a MatchCheckCtxt < ' p , ' tcx > , ) -> impl Iterator < Item = & ' a Constructor < ' tcx > > + Captures < ' a > + Captures < ' p > { self . patterns . iter ( ) . map ( move | r | r . head_ctor ( cx ) ) }
Iterate over the first constructor of each row
Iterate over the first constructor of each row
&'a self
cx
&'a MatchCheckCtxt<'p, 'tcx>