fix rebase

This commit is contained in:
Esteban Küber 2022-12-26 12:47:08 -08:00
parent 8bde5bbc07
commit 2cc22cee96

View File

@ -31,7 +31,7 @@ pub fn emit_type_mismatch_suggestions(
expr_ty: Ty<'tcx>,
expected: Ty<'tcx>,
expected_ty_expr: Option<&'tcx hir::Expr<'tcx>>,
_error: Option<TypeError<'tcx>>,
error: Option<TypeError<'tcx>>,
) {
if expr_ty == expected {
return;