This commit is contained in:
bjorn3 2024-05-19 13:16:07 +00:00
commit 0c204c3a37

View File

@ -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();