We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tail
lower_stmts
1 parent 6f3df08 commit 86afea9Copy full SHA for 86afea9
compiler/rustc_ast_lowering/src/block.rs
@@ -76,7 +76,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
76
StmtKind::Empty => {}
77
StmtKind::MacCall(..) => panic!("shouldn't exist here"),
78
}
79
- ast_stmts = &ast_stmts[1..];
+ ast_stmts = tail;
80
81
(self.arena.alloc_from_iter(stmts), expr)
82
0 commit comments