]> git.lizzy.rs Git - rust.git/commit
Auto merge of #69506 - Centril:stmt-semi-none, r=petrochenkov
authorbors <bors@rust-lang.org>
Tue, 3 Mar 2020 19:57:07 +0000 (19:57 +0000)
committerbors <bors@rust-lang.org>
Tue, 3 Mar 2020 19:57:07 +0000 (19:57 +0000)
commit4ad62488258972bdb0e2df225d100f99ef58dbad
tree9fad9efa1cd3991235b3afda3f0bde98caad9a62
parent3c5b1b7d63f55ac96fc7cd06df01e0f0e4f49d47
parent176fe3f8ac79e58e35793e6a92c75eed3c8e5b91
Auto merge of #69506 - Centril:stmt-semi-none, r=petrochenkov

encode `;` stmt without expr as `StmtKind::Empty`

Instead of encoding `;` statements without a an expression as a tuple in AST, encode it as `ast::StmtKind::Empty`.

r? @petrochenkov