1
Fork 0

Add PatKind::Err

This commit is contained in:
Lieselotte 2024-01-17 03:14:16 +01:00
parent 6ed31aba1a
commit 7889e99b55
No known key found for this signature in database
GPG key ID: 43A6A32F83A6F9B1
23 changed files with 66 additions and 24 deletions

View file

@ -681,7 +681,8 @@ fn resolve_local<'tcx>(
| PatKind::Never
| PatKind::Path(_)
| PatKind::Lit(_)
| PatKind::Range(_, _, _) => false,
| PatKind::Range(_, _, _)
| PatKind::Err(_) => false,
}
}