Only point out non-diverging arms for match suggestions
This commit is contained in:
parent
fa9f77ff35
commit
c763f833d1
7 changed files with 69 additions and 18 deletions
|
@ -571,7 +571,7 @@ pub struct MatchExpressionArmCause<'tcx> {
|
|||
pub scrut_span: Span,
|
||||
pub scrut_hir_id: hir::HirId,
|
||||
pub source: hir::MatchSource,
|
||||
pub prior_arms: Vec<Span>,
|
||||
pub prior_non_diverging_arms: Vec<Span>,
|
||||
pub opt_suggest_box_span: Option<Span>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue