Suggest ; after bare match expression E0308

Fix #72634.
This commit is contained in:
Esteban Küber
2023-01-08 20:24:17 +00:00
parent cdddcd3bea
commit a53f280bfc
5 changed files with 30 additions and 4 deletions

View File

@@ -541,6 +541,7 @@ pub struct MatchExpressionArmCause<'tcx> {
pub prior_arm_ty: Ty<'tcx>,
pub prior_arm_span: Span,
pub scrut_span: Span,
pub scrut_hir_id: hir::HirId,
pub source: hir::MatchSource,
pub prior_arms: Vec<Span>,
pub opt_suggest_box_span: Option<Span>,