Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update simd syntax
  • Loading branch information
GuillaumeGomez committed May 20, 2016
1 parent d27bdaf commit bbed89b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/librustc_typeck/diagnostics.rs
Expand Up @@ -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);
```
"##,
Expand Down

0 comments on commit bbed89b

Please sign in to comment.