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:
commit
a20d0d5a5c
19 changed files with 72 additions and 41 deletions
|
@ -305,6 +305,7 @@ impl<'v> hir_visit::Visitor<'v> for StatCollector<'v> {
|
|||
Deref,
|
||||
Ref,
|
||||
Lit,
|
||||
Guard,
|
||||
Range,
|
||||
Slice,
|
||||
Err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue