Use diagnostic method for diagnostics
This commit is contained in:
parent
921645c737
commit
b28221e74f
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
return;
|
||||
};
|
||||
|
||||
let pick = self.confirm_method(
|
||||
let pick = self.confirm_method_for_diagnostic(
|
||||
call_expr.span,
|
||||
callee_expr,
|
||||
call_expr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue