[−][src]Function rustc_mir_build::thir::pattern::_match::pat_constructor
pub(in thir::pattern::_match) fn pat_constructor<'p, 'tcx>(
cx: &MatchCheckCtxt<'p, 'tcx>,
pat: &'p Pat<'tcx>
) -> Constructor<'tcx>
Determines the constructor that the given pattern can be specialized to.
Returns None in case of a catch-all, which can't be specialized.