Rollup merge of #33757 - GuillaumeGomez:simd, r=steveklabnik
Update simd syntax r? @steveklabnik
This commit is contained in:
commit
61b9be776e
@ -1002,18 +1002,18 @@ struct Foo { x: Option<Box<Foo>> }
|
||||
This will cause an error:
|
||||
|
||||
```compile_fail
|
||||
#![feature(simd)]
|
||||
#![feature(repr_simd)]
|
||||
|
||||
#[simd]
|
||||
#[repr(simd)]
|
||||
struct Bad;
|
||||
```
|
||||
|
||||
This will not:
|
||||
|
||||
```
|
||||
#![feature(simd)]
|
||||
#![feature(repr_simd)]
|
||||
|
||||
#[simd]
|
||||
#[repr(simd)]
|
||||
struct Good(u32);
|
||||
```
|
||||
"##,
|
||||
|
Loading…
Reference in New Issue
Block a user