diff options
| author | ggomez <guillaume1.gomez@gmail.com> | 2016-05-20 15:19:34 +0200 |
|---|---|---|
| committer | ggomez <guillaume1.gomez@gmail.com> | 2016-05-20 15:19:34 +0200 |
| commit | bbed89b4e562c7b1f3c7266fe8b35e5db3886dbc (patch) | |
| tree | 84d73f572e61a46458ae7ec0a780f01b6f7583f8 /src | |
| parent | d27bdafc3eaab2729d664f82b7d650782640f31a (diff) | |
| download | rust-bbed89b4e562c7b1f3c7266fe8b35e5db3886dbc.tar.gz rust-bbed89b4e562c7b1f3c7266fe8b35e5db3886dbc.zip | |
Update simd syntax
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); ``` "##, |
