about summary refs log tree commit diff
path: root/tests/ui/simd/repr-simd-on-enum.stderr
blob: 6a19a16e8eae5c079f64ce4c4aabf044e772f202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0517]: attribute should be applied to a struct
  --> $DIR/repr-simd-on-enum.rs:5:8
   |
LL |   #[repr(simd)]
   |          ^^^^
LL | / enum Aligned {
LL | |     Zero = 0,
LL | |     One = 1,
LL | | }
   | |_- not a struct

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0517`.