Rebase fallout.
This commit is contained in:
parent
11a999e634
commit
7842b80478
5 changed files with 6 additions and 5 deletions
|
@ -423,6 +423,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
let if_expr = self.expr(span, if_kind, ThinVec::new());
|
||||
let block = self.block_expr(self.arena.alloc(if_expr));
|
||||
let span = self.lower_span(span.with_hi(cond.span.hi()));
|
||||
let opt_label = self.lower_label(opt_label);
|
||||
hir::ExprKind::Loop(block, opt_label, hir::LoopSource::While, span)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue