diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-05-21 09:08:11 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-05-21 09:08:11 +0530 |
| commit | 61b9be776e7e5dd87c4eda7be29f0166287c139d (patch) | |
| tree | 6f0af1b9d75f48244ea75f77b4ce8be110a51a0d /src | |
| parent | 197aa52de3d2dea54d60e1ffa4cf1ccc4f45ea40 (diff) | |
| parent | bbed89b4e562c7b1f3c7266fe8b35e5db3886dbc (diff) | |
| download | rust-61b9be776e7e5dd87c4eda7be29f0166287c139d.tar.gz rust-61b9be776e7e5dd87c4eda7be29f0166287c139d.zip | |
Rollup merge of #33757 - GuillaumeGomez:simd, r=steveklabnik
Update simd syntax r? @steveklabnik
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 5f2997a86a9..45aec9558fe 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -1002,18 +1002,18 @@ operate on. 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); ``` "##, |
