Stabilize min_exhaustive_patterns

This commit is contained in:
Nadrieril
2024-03-20 19:24:42 +01:00
parent 19469cb536
commit cd40769c02
10 changed files with 19 additions and 39 deletions

View File

@@ -54,7 +54,6 @@ pub trait PatCx: Sized + fmt::Debug {
type PatData: Clone;
fn is_exhaustive_patterns_feature_on(&self) -> bool;
fn is_min_exhaustive_patterns_feature_on(&self) -> bool;
/// The number of fields for this constructor.
fn ctor_arity(&self, ctor: &Constructor<Self>, ty: &Self::Ty) -> usize;