Skip to content

Commit

Permalink
Flatten arrows with further comment
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Oct 3, 2020
1 parent c47caea commit 2fcd183
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/test/ui/simd/shuffle-not-out-of-bounds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,13 @@ macro_rules! test_shuffle_lanes {
}
}
//~^^^^^ ERROR: invalid monomorphization of `simd_shuffle2` intrinsic
//~^^^^^^ ERROR: invalid monomorphization of `simd_shuffle4` intrinsic
//~^^^^^^^ ERROR: invalid monomorphization of `simd_shuffle8` intrinsic
//~^^^^^^^^ ERROR: invalid monomorphization of `simd_shuffle16` intrinsic
//~^^^^^^^^^ ERROR: invalid monomorphization of `simd_shuffle32` intrinsic
//~^^^^^^^^^^ ERROR: invalid monomorphization of `simd_shuffle64` intrinsic
//~| ERROR: invalid monomorphization of `simd_shuffle4` intrinsic
//~| ERROR: invalid monomorphization of `simd_shuffle8` intrinsic
//~| ERROR: invalid monomorphization of `simd_shuffle16` intrinsic
//~| ERROR: invalid monomorphization of `simd_shuffle32` intrinsic
//~| ERROR: invalid monomorphization of `simd_shuffle64` intrinsic
// Because the test is mostly embedded in a macro, all the errors have the same origin point.
// And unfortunately, standard comments, as in the UI test harness, disappear in macros!

fn main() {
test_shuffle_lanes!(2, u8x2, simd_shuffle2, (2, 1));
Expand Down

0 comments on commit 2fcd183

Please sign in to comment.