Propitiate tidy
This commit is contained in:
parent
3683f51352
commit
58a04f06cb
1 changed files with 2 additions and 1 deletions
|
|
@ -3229,7 +3229,8 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> {
|
|||
Some(ret) => ret,
|
||||
None => return Vec::new()
|
||||
};
|
||||
let expect_args = self.fudge_inference_if_ok(&RegionVariableOrigin::Coercion(call_span), || {
|
||||
let origin = RegionVariableOrigin::Coercion(call_span);
|
||||
let expect_args = self.fudge_inference_if_ok(&origin, || {
|
||||
// Attempt to apply a subtyping relationship between the formal
|
||||
// return type (likely containing type variables if the function
|
||||
// is polymorphic) and the expected return type.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue