mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
Correct wording
This commit is contained in:
@@ -1030,7 +1030,7 @@ pub(crate) fn to_pat(&self, cx: &MatchCheckCtx<'_, 'p>) -> Pat {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user