Stabilize min_exhaustive_patterns
This commit is contained in:
parent
19469cb536
commit
cd40769c02
10 changed files with 19 additions and 39 deletions
|
@ -152,10 +152,6 @@ impl PatCx for Cx {
|
|||
false
|
||||
}
|
||||
|
||||
fn is_min_exhaustive_patterns_feature_on(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn ctor_arity(&self, ctor: &Constructor<Self>, ty: &Self::Ty) -> usize {
|
||||
ty.sub_tys(ctor).len()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue