Skip to content

Commit d808395

Browse files
committed
Use diagnostic method for diagnostics
1 parent 85b884b commit d808395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/callee.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
637637
return;
638638
};
639639

640-
let pick = self.confirm_method(
640+
let pick = self.confirm_method_for_diagnostic(
641641
call_expr.span,
642642
callee_expr,
643643
call_expr,

0 commit comments

Comments
 (0)