diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2024-01-06 05:01:35 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2024-01-06 05:01:35 +0000 |
| commit | 078f2280855dbc31be5e59c555bedb2cce4db2c1 (patch) | |
| tree | fea1741bf8cfc1519ab3cefca1fb673ffdf68816 /src/tools/miri/tests/fail/function_pointers | |
| parent | 7e4e9ada0fdc294f4dde9cd4a200ae4aa83c8764 (diff) | |
| parent | 5bcd86d89b2b7b6a490f7e075dd4eb346deb5f98 (diff) | |
| download | rust-078f2280855dbc31be5e59c555bedb2cce4db2c1.tar.gz rust-078f2280855dbc31be5e59c555bedb2cce4db2c1.zip | |
Merge from rustc
Diffstat (limited to 'src/tools/miri/tests/fail/function_pointers')
| -rw-r--r-- | src/tools/miri/tests/fail/function_pointers/abi_mismatch_array_vs_struct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/tests/fail/function_pointers/abi_mismatch_array_vs_struct.rs b/src/tools/miri/tests/fail/function_pointers/abi_mismatch_array_vs_struct.rs index 415e91b250f..401927f5f6c 100644 --- a/src/tools/miri/tests/fail/function_pointers/abi_mismatch_array_vs_struct.rs +++ b/src/tools/miri/tests/fail/function_pointers/abi_mismatch_array_vs_struct.rs @@ -3,7 +3,7 @@ // Some targets treat arrays and structs very differently. We would probably catch that on those // targets since we check the `PassMode`; here we ensure that we catch it on *all* targets // (in particular, on x86-64 the pass mode is `Indirect` for both of these). -struct S(i32, i32, i32, i32); +struct S(#[allow(dead_code)] i32, #[allow(dead_code)] i32, #[allow(dead_code)] i32, #[allow(dead_code)] i32); type A = [i32; 4]; fn main() { |
