mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00

This just uses the `valid_range` from the backend, so it's duplicating the range metadata that now we include on parameters and loads.
15 lines
339 B
Plaintext
15 lines
339 B
Plaintext
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`.
|