1
Fork 0

Use diagnostic method for diagnostics

This commit is contained in:
Oli Scherer 2024-04-15 11:10:50 +00:00
parent 921645c737
commit b28221e74f

View file

@ -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,