Don't recompute tail
in lower_stmts
This commit is contained in:
parent
6f3df08aad
commit
86afea97fd
@ -76,7 +76,7 @@ fn lower_stmts(
|
||||
StmtKind::Empty => {}
|
||||
StmtKind::MacCall(..) => panic!("shouldn't exist here"),
|
||||
}
|
||||
ast_stmts = &ast_stmts[1..];
|
||||
ast_stmts = tail;
|
||||
}
|
||||
(self.arena.alloc_from_iter(stmts), expr)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user