diff options
| author | bors <bors@rust-lang.org> | 2019-06-24 05:00:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-06-24 05:00:10 +0000 |
| commit | 3cc34867339356a34428e9ec3efa618d86228fed (patch) | |
| tree | bbfaf3093c4a894726e09107b8d385225c40795e /src/test/ui/thinlto | |
| parent | 85ed21e83c9f42203cfe06d41eab3f160bd13518 (diff) | |
| parent | 4d537141835f825892e2be868620e98585b3d4a9 (diff) | |
| download | rust-3cc34867339356a34428e9ec3efa618d86228fed.tar.gz rust-3cc34867339356a34428e9ec3efa618d86228fed.zip | |
Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov
Remove `ast::Guard` With the introduction of `ast::ExprKind::Let` in https://github.com/rust-lang/rust/pull/60861, the `ast::Guard` structure is now redundant in terms of representing [`if let` guards](https://github.com/rust-lang/rust/issues/51114) in AST since it can be represented by `ExprKind::Let` syntactically. Therefore, we remove `ast::Guard` here. However, we keep `hir::Guard` because the semantic representation is a different matter and this story is more unclear right now (might involve `goto 'arm` in HIR or something...). r? @petrochenkov
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
