Support 'alt check' syntax
It is only a way to flag an alt as intentionally non-exhaustive right now. Issue #1679
This commit is contained in:
parent
9f95ccb426
commit
6627890f6b
14 changed files with 29 additions and 29 deletions
|
|
@ -293,7 +293,7 @@ impl ast_output for ast_ctxt {
|
|||
}
|
||||
}
|
||||
|
||||
ast::expr_alt(cond, arms) {
|
||||
ast::expr_alt(cond, arms, _) {
|
||||
self.tag(at_expr_node_alt) {||
|
||||
self.blk(blk);
|
||||
self.expr(cond);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue