1
Fork 0

Remove wrong assertion.

This commit is contained in:
Camille GILLOT 2023-04-30 14:08:26 +00:00
parent 409661936f
commit 84cb7ecbc1
2 changed files with 10 additions and 3 deletions

View file

@ -334,9 +334,6 @@ impl<'p, 'tcx> MatchVisitor<'_, 'p, 'tcx> {
let refutable = !is_let_irrefutable(&mut ncx, local_lint_level, tpat);
Some((expr.span, refutable))
}
ExprKind::LogicalOp { op: LogicalOp::And, .. } => {
bug!()
}
_ => None,
}
};