diff --git a/src/test/ui/simd/simd-array-trait.rs b/src/test/ui/simd/simd-array-trait.rs index 6219e7ca83b16..d6ed5f61a000e 100644 --- a/src/test/ui/simd/simd-array-trait.rs +++ b/src/test/ui/simd/simd-array-trait.rs @@ -20,7 +20,8 @@ impl Simd for i32x4 { #[repr(simd)] #[derive(Copy, Clone)] -pub struct T([S::Lane; S::SIZE]); //~ ERROR constant expression depends on a generic parameter +pub struct T([S::Lane; S::SIZE]); +//~^ ERROR constant expression depends on a generic parameter extern "platform-intrinsic" { fn simd_insert(x: T, idx: u32, y: E) -> T;