Skip to content

Commit 58a04f0

Browse files
committed
Propitiate tidy
1 parent 3683f51 commit 58a04f0

File tree

1 file changed

+2
-1
lines changed
  • src/librustc_typeck/check

1 file changed

+2
-1
lines changed

src/librustc_typeck/check/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -3229,7 +3229,8 @@ impl<'a, 'gcx, 'tcx> FnCtxt<'a, 'gcx, 'tcx> {
32293229
Some(ret) => ret,
32303230
None => return Vec::new()
32313231
};
3232-
let expect_args = self.fudge_inference_if_ok(&RegionVariableOrigin::Coercion(call_span), || {
3232+
let origin = RegionVariableOrigin::Coercion(call_span);
3233+
let expect_args = self.fudge_inference_if_ok(&origin, || {
32333234
// Attempt to apply a subtyping relationship between the formal
32343235
// return type (likely containing type variables if the function
32353236
// is polymorphic) and the expected return type.

0 commit comments

Comments
 (0)