Correct wording

This commit is contained in:
iDawer 2022-06-30 17:19:03 +05:00
parent fb6278e750
commit 461c0cc07a

View File

@ -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