Skip to content

Commit 2fcd183

Browse files
Flatten arrows with further comment
1 parent c47caea commit 2fcd183

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/test/ui/simd/shuffle-not-out-of-bounds.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,13 @@ macro_rules! test_shuffle_lanes {
166166
}
167167
}
168168
//~^^^^^ ERROR: invalid monomorphization of `simd_shuffle2` intrinsic
169-
//~^^^^^^ ERROR: invalid monomorphization of `simd_shuffle4` intrinsic
170-
//~^^^^^^^ ERROR: invalid monomorphization of `simd_shuffle8` intrinsic
171-
//~^^^^^^^^ ERROR: invalid monomorphization of `simd_shuffle16` intrinsic
172-
//~^^^^^^^^^ ERROR: invalid monomorphization of `simd_shuffle32` intrinsic
173-
//~^^^^^^^^^^ ERROR: invalid monomorphization of `simd_shuffle64` intrinsic
169+
//~| ERROR: invalid monomorphization of `simd_shuffle4` intrinsic
170+
//~| ERROR: invalid monomorphization of `simd_shuffle8` intrinsic
171+
//~| ERROR: invalid monomorphization of `simd_shuffle16` intrinsic
172+
//~| ERROR: invalid monomorphization of `simd_shuffle32` intrinsic
173+
//~| ERROR: invalid monomorphization of `simd_shuffle64` intrinsic
174174
// Because the test is mostly embedded in a macro, all the errors have the same origin point.
175+
// And unfortunately, standard comments, as in the UI test harness, disappear in macros!
175176

176177
fn main() {
177178
test_shuffle_lanes!(2, u8x2, simd_shuffle2, (2, 1));

0 commit comments

Comments
 (0)