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

@ -303,7 +303,8 @@ impl<'v> hir_visit::Visitor<'v> for StatCollector<'v> {
Ref,
Lit,
Range,
Slice
Slice,
Err
]
);
hir_visit::walk_pat(self, p)
@ -576,7 +577,8 @@ impl<'v> ast_visit::Visitor<'v> for StatCollector<'v> {
Rest,
Never,
Paren,
MacCall
MacCall,
Err
]
);
ast_visit::walk_pat(self, p)