mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-23 17:15:14 +00:00
Propitiate tidy
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user