diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-05-19 13:16:07 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-05-19 13:16:07 +0000 |
| commit | 0c204c3a3796855b4e5cb26a2b0204379d1e59c4 (patch) | |
| tree | 1b5fac836027f77eedfbbd853908ae1f7b107f2c | |
| parent | f0dffd9fabd279297834f33bc0e2bbacbf0b1612 (diff) | |
| parent | 8aa7112c82416cfaf0fb63db2467d45fdb0407bc (diff) | |
| download | rust-0c204c3a3796855b4e5cb26a2b0204379d1e59c4.tar.gz rust-0c204c3a3796855b4e5cb26a2b0204379d1e59c4.zip | |
Sync from rust b1ec1bd65f89c1375d2cf2fb733a87ef390276d3
| -rw-r--r-- | src/value_and_place.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/value_and_place.rs b/src/value_and_place.rs index b6d6d211e65..4146137c226 100644 --- a/src/value_and_place.rs +++ b/src/value_and_place.rs @@ -872,7 +872,7 @@ pub(crate) fn assert_assignable<'tcx>( let FnSig { inputs_and_output: types_from, c_variadic: c_variadic_from, - unsafety: unsafety_from, + safety: unsafety_from, abi: abi_from, } = from_sig; let to_sig = fx @@ -881,7 +881,7 @@ pub(crate) fn assert_assignable<'tcx>( let FnSig { inputs_and_output: types_to, c_variadic: c_variadic_to, - unsafety: unsafety_to, + safety: unsafety_to, abi: abi_to, } = to_sig; let mut types_from = types_from.iter(); |
