Rename hir::Let into hir::LetExpr

This commit is contained in:
Guillaume Gomez
2024-03-20 16:47:11 +01:00
parent c86f3ac24f
commit 98e66553a6
14 changed files with 27 additions and 23 deletions

View File

@@ -157,7 +157,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
hir::ExprKind::AddrOf(*k, *m, ohs)
}
ExprKind::Let(pat, scrutinee, span, is_recovered) => {
hir::ExprKind::Let(self.arena.alloc(hir::Let {
hir::ExprKind::Let(self.arena.alloc(hir::LetExpr {
span: self.lower_span(*span),
pat: self.lower_pat(pat),
ty: None,