mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 03:24:06 +03:00
fix rebase
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user