Sync from rust b1ec1bd65f
This commit is contained in:
commit
0c204c3a37
@ -872,7 +872,7 @@ pub(crate) fn assert_assignable<'tcx>(
|
|||||||
let FnSig {
|
let FnSig {
|
||||||
inputs_and_output: types_from,
|
inputs_and_output: types_from,
|
||||||
c_variadic: c_variadic_from,
|
c_variadic: c_variadic_from,
|
||||||
unsafety: unsafety_from,
|
safety: unsafety_from,
|
||||||
abi: abi_from,
|
abi: abi_from,
|
||||||
} = from_sig;
|
} = from_sig;
|
||||||
let to_sig = fx
|
let to_sig = fx
|
||||||
@ -881,7 +881,7 @@ pub(crate) fn assert_assignable<'tcx>(
|
|||||||
let FnSig {
|
let FnSig {
|
||||||
inputs_and_output: types_to,
|
inputs_and_output: types_to,
|
||||||
c_variadic: c_variadic_to,
|
c_variadic: c_variadic_to,
|
||||||
unsafety: unsafety_to,
|
safety: unsafety_to,
|
||||||
abi: abi_to,
|
abi: abi_to,
|
||||||
} = to_sig;
|
} = to_sig;
|
||||||
let mut types_from = types_from.iter();
|
let mut types_from = types_from.iter();
|
||||||
|
Loading…
Reference in New Issue
Block a user