Reduce diagram mess in 'match arms have incompatible types' error
This commit is contained in:
parent
f82adf5bdb
commit
b0059500f6
4 changed files with 38 additions and 28 deletions
|
@ -343,6 +343,7 @@ static_assert_size!(ObligationCauseCode<'_>, 32);
|
|||
#[derive(Clone, Debug, PartialEq, Eq, Hash, Lift)]
|
||||
pub struct MatchExpressionArmCause<'tcx> {
|
||||
pub arm_span: Span,
|
||||
pub scrut_span: Span,
|
||||
pub semi_span: Option<Span>,
|
||||
pub source: hir::MatchSource,
|
||||
pub prior_arms: Vec<Span>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue