diff options
| author | Alexander Cyon <alex.cyon@gmail.com> | 2024-09-02 07:50:22 +0200 |
|---|---|---|
| committer | Alexander Cyon <alex.cyon@gmail.com> | 2024-09-02 07:50:22 +0200 |
| commit | 00de006f22f2304bddabb2d00a13af242ea21c17 (patch) | |
| tree | 3541122ca018d452badc01254881422d4948270c /compiler/rustc_pattern_analysis/tests | |
| parent | 78d5c04d9c64a57134e6bd39090847351379e6ae (diff) | |
| download | rust-00de006f22f2304bddabb2d00a13af242ea21c17.tar.gz rust-00de006f22f2304bddabb2d00a13af242ea21c17.zip | |
chore: Fix typos in 'compiler' (batch 2)
Diffstat (limited to 'compiler/rustc_pattern_analysis/tests')
| -rw-r--r-- | compiler/rustc_pattern_analysis/tests/exhaustiveness.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_pattern_analysis/tests/exhaustiveness.rs b/compiler/rustc_pattern_analysis/tests/exhaustiveness.rs index 2192940d4d7..af093db782c 100644 --- a/compiler/rustc_pattern_analysis/tests/exhaustiveness.rs +++ b/compiler/rustc_pattern_analysis/tests/exhaustiveness.rs @@ -22,7 +22,7 @@ fn check(patterns: Vec<DeconstructedPat<Cx>>) -> Vec<WitnessPat<Cx>> { fn assert_exhaustive(patterns: Vec<DeconstructedPat<Cx>>) { let witnesses = check(patterns); if !witnesses.is_empty() { - panic!("non-exaustive match: missing {witnesses:?}"); + panic!("non-exhaustive match: missing {witnesses:?}"); } } |
