# Error code E0075

A `#[simd]` attribute was applied to an empty tuple struct.

Erroneous code example:

    #![allow(unused)]
    #![feature(repr_simd)]

    fn main() {
    #[repr(simd)]
    struct Bad; // error!
    }

The `#[simd]` attribute can only be applied to non empty tuple structs, because it doesn't make sense to try to use SIMD operations when there are no values to operate on.

Fixed example:

    #![allow(unused)]
    #![feature(repr_simd)]

    fn main() {
    #[repr(simd)]
    struct Good(u32); // ok!
    }