1
Fork 0

Rollup merge of #134989 - max-niederman:guard-patterns-hir, r=oli-obk

Lower Guard Patterns to HIR.

Implements lowering of [guard patterns](https://rust-lang.github.io/rfcs/3637-guard-patterns.html) (see the [tracking issue](#129967)) to HIR.
This commit is contained in:
Matthias Krüger 2025-01-07 21:39:40 +01:00 committed by GitHub
commit a20d0d5a5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 72 additions and 41 deletions

View file

@ -305,6 +305,7 @@ impl<'v> hir_visit::Visitor<'v> for StatCollector<'v> {
Deref,
Ref,
Lit,
Guard,
Range,
Slice,
Err