remove BinOp variant

This commit is contained in:
Folkert 2021-03-20 23:01:12 +01:00
parent ad40609d44
commit 1871697b0f
6 changed files with 2 additions and 73 deletions

View file

@ -803,12 +803,6 @@ pub fn canonicalize_expr<'a>(
bad_expr
);
}
bad_expr @ ast::Expr::BinOp(_) => {
panic!(
"A binary operator did not get desugared somehow: {:#?}",
bad_expr
);
}
bad_expr @ ast::Expr::BinOps { .. } => {
panic!(
"A binary operator chain did not get desugared somehow: {:#?}",