| error: Undefined Behavior: calling a function with argument of type std::simd::Simd<u32, 8> passing data of type std::simd::Simd<u64, 4> |
| --> tests/fail/function_pointers/abi_mismatch_vector.rs:LL:CC |
| | |
| LL | g(Default::default()) |
| | ^^^^^^^^^^^^^^^^^^^^^ calling a function with argument of type std::simd::Simd<u32, 8> passing data of type std::simd::Simd<u64, 4> |
| | |
| = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior |
| = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information |
| = help: this means these two types are not *guaranteed* to be ABI-compatible across all targets |
| = help: if you think this code should be accepted anyway, please report an issue with Miri |
| = note: BACKTRACE: |
| = note: inside `main` at tests/fail/function_pointers/abi_mismatch_vector.rs:LL:CC |
| |
| note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace |
| |
| error: aborting due to 1 previous error |
| |