Desugar 'if let' into the appropriate 'match'
This commit is contained in:
parent
5d8cfd53b5
commit
0e6ff432dc
9 changed files with 108 additions and 1 deletions
|
@ -222,6 +222,8 @@ impl<'a, 'tcx> CFGBuilder<'a, 'tcx> {
|
|||
self.add_node(expr.id, [then_exit, else_exit]) // 4, 5
|
||||
}
|
||||
|
||||
ast::ExprIfLet(..) => fail!("non-desugared ExprIfLet"),
|
||||
|
||||
ast::ExprWhile(ref cond, ref body, _) => {
|
||||
//
|
||||
// [pred]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue