]> git.lizzy.rs Git - rust.git/blob - tests/fail/intrinsics/simd-scatter.stderr
Bless stderr files after rustfmt
[rust.git] / tests / fail / intrinsics / simd-scatter.stderr
1 error: Undefined Behavior: dereferencing pointer failed: ALLOC has size 9, so pointer to 1 byte starting at offset 9 is out-of-bounds
2   --> RUSTLIB/core/src/../../portable-simd/crates/core_simd/src/vector.rs:LL:CC
3    |
4 LL |             intrinsics::simd_scatter(self, ptrs, enable.to_int())
5    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereferencing pointer failed: ALLOC has size 9, so pointer to 1 byte starting at offset 9 is out-of-bounds
6    |
7    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
8    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
9            
10    = note: inside `std::simd::Simd::<i8, 4_usize>::scatter_select_unchecked` at RUSTLIB/core/src/../../portable-simd/crates/core_simd/src/vector.rs:LL:CC
11 note: inside `main` at $DIR/simd-scatter.rs:LL:CC
12   --> $DIR/simd-scatter.rs:LL:CC
13    |
14 LL | /         Simd::from_array([-27, 82, -41, 124]).scatter_select_unchecked(
15 LL | |             &mut vec,
16 LL | |             Mask::splat(true),
17 LL | |             idxs,
18 LL | |         );
19    | |_________^
20
21 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
22
23 error: aborting due to previous error
24