We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ab55d42 + 86afea9 commit c11e057Copy full SHA for c11e057
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