diff options
| author | bors <bors@rust-lang.org> | 2019-06-23 12:28:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-06-23 12:28:12 +0000 |
| commit | 5d677b2efdb00031564d30ee9f63f4d4f936a39f (patch) | |
| tree | cf7f1b1a463a8a5ebbd802bd9cb61fe10d3fea0a /src/test/rustdoc-ui/coverage/empty.rs | |
| parent | a96ba969156d257e5d5b692946fa8fe40ed6543a (diff) | |
| parent | c75f7ecaee508c568c0bc01c102965ce8b2246ef (diff) | |
| download | rust-5d677b2efdb00031564d30ee9f63f4d4f936a39f.tar.gz rust-5d677b2efdb00031564d30ee9f63f4d4f936a39f.zip | |
Auto merge of #60861 - Centril:let-chains-ast-intro, r=petrochenkov
[let_chains, 2/6] Introduce `Let(..)` in AST, remove IfLet + WhileLet and parse let chains
Here we remove `ast::ExprKind::{IfLet, WhileLet}` and introduce `ast::ExprKind::Let`.
Moreover, we also:
+ connect the parsing logic for let chains
+ introduce the feature gate
+ rewire HIR lowering a bit.
However, this does not connect the new syntax to semantics in HIR.
That will be the subject of a subsequent PR.
Per https://github.com/rust-lang/rust/issues/53667#issuecomment-471583239.
Next step after https://github.com/rust-lang/rust/pull/59288.
cc @Manishearth re. Clippy.
r? @oli-obk
Diffstat (limited to 'src/test/rustdoc-ui/coverage/empty.rs')
0 files changed, 0 insertions, 0 deletions
