diff options
| author | iDawer <ilnur.iskhakov.oss@outlook.com> | 2022-06-30 17:19:03 +0500 |
|---|---|---|
| committer | iDawer <ilnur.iskhakov.oss@outlook.com> | 2022-06-30 17:19:03 +0500 |
| commit | 461c0cc07af36fc95bafa6d5a8a9d86735fc64ff (patch) | |
| tree | b1ed15b6c9f91704508d532945f6f0bdf67f2b7b | |
| parent | fb6278e750b48d0478a696fa666b443a045f1c8c (diff) | |
| download | rust-461c0cc07af36fc95bafa6d5a8a9d86735fc64ff.tar.gz rust-461c0cc07af36fc95bafa6d5a8a9d86735fc64ff.zip | |
Correct wording
| -rw-r--r-- | crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs b/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs index 7011ed9f106..65e33df13ee 100644 --- a/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs +++ b/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs @@ -1030,7 +1030,7 @@ impl<'p> DeconstructedPat<'p> { Wildcard | NonExhaustive => PatKind::Wild, Missing { .. } => { never!( - "trying to convert a `Missing` constructor into a `Pat`; this is probably a bug, + "trying to convert a `Missing` constructor into a `Pat`; this is a bug, \ `Missing` should have been processed in `apply_constructors`" ); PatKind::Wild |
