diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-06-04 08:46:49 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-06-30 08:06:08 +0000 |
| commit | 9b5d57d0a9d8ba75fd1602f62d0bfd9f2f6acd1e (patch) | |
| tree | 237925507e6d88ad8e649ab24f2a9dfea62e726c /tests/ui/simd/array-trait.stderr | |
| parent | cca072ca151d766bc9a40b82b1fc5e67ef5fee1e (diff) | |
| download | rust-9b5d57d0a9d8ba75fd1602f62d0bfd9f2f6acd1e.tar.gz rust-9b5d57d0a9d8ba75fd1602f62d0bfd9f2f6acd1e.zip | |
Unconditionally run `check_item_type` on all items
Diffstat (limited to 'tests/ui/simd/array-trait.stderr')
| -rw-r--r-- | tests/ui/simd/array-trait.stderr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/simd/array-trait.stderr b/tests/ui/simd/array-trait.stderr index 299f0ad96ae..47f395044ff 100644 --- a/tests/ui/simd/array-trait.stderr +++ b/tests/ui/simd/array-trait.stderr @@ -1,3 +1,9 @@ +error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type + --> $DIR/array-trait.rs:22:1 + | +LL | pub struct T<S: Simd>([S::Lane; S::SIZE]); + | ^^^^^^^^^^^^^^^^^^^^^ + error: unconstrained generic constant --> $DIR/array-trait.rs:22:23 | @@ -9,12 +15,6 @@ help: try adding a `where` bound LL | pub struct T<S: Simd>([S::Lane; S::SIZE]) where [(); S::SIZE]:; | ++++++++++++++++++++ -error[E0077]: SIMD vector element type should be a primitive scalar (integer/float/pointer) type - --> $DIR/array-trait.rs:22:1 - | -LL | pub struct T<S: Simd>([S::Lane; S::SIZE]); - | ^^^^^^^^^^^^^^^^^^^^^ - error: unconstrained generic constant --> $DIR/array-trait.rs:22:23 | |
