diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2024-03-20 19:24:42 +0100 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-08-10 12:07:17 +0200 |
| commit | cd40769c02e31649bae3422ec7215783bc9d416f (patch) | |
| tree | cd897fae6890a79ee25013735b4d1875c34b1067 /compiler/rustc_pattern_analysis/tests | |
| parent | 19469cb536af8cdd7b0d3f6960e7815b218577c2 (diff) | |
| download | rust-cd40769c02e31649bae3422ec7215783bc9d416f.tar.gz rust-cd40769c02e31649bae3422ec7215783bc9d416f.zip | |
Stabilize `min_exhaustive_patterns`
Diffstat (limited to 'compiler/rustc_pattern_analysis/tests')
| -rw-r--r-- | compiler/rustc_pattern_analysis/tests/common/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_pattern_analysis/tests/common/mod.rs b/compiler/rustc_pattern_analysis/tests/common/mod.rs index 01a56eaa78f..ec0bcd43ad2 100644 --- a/compiler/rustc_pattern_analysis/tests/common/mod.rs +++ b/compiler/rustc_pattern_analysis/tests/common/mod.rs @@ -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() } |
