diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2015-07-13 11:35:00 -0700 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2015-08-17 10:57:18 -0700 |
| commit | c8b6d5b23cc8b2d43ece9f06252c7e98280fb8e5 (patch) | |
| tree | f7440965a23467b40bd55227c4093cc7b27dc2fb /src/libsyntax/ext | |
| parent | e822a18ae7d55cefc332c6598a607cef0554ec77 (diff) | |
| download | rust-c8b6d5b23cc8b2d43ece9f06252c7e98280fb8e5.tar.gz rust-c8b6d5b23cc8b2d43ece9f06252c7e98280fb8e5.zip | |
Implement `repr(simd)` as an alias for `#[simd]`.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/deriving/generic/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/deriving/generic/mod.rs b/src/libsyntax/ext/deriving/generic/mod.rs index 1f4860b7ec1..f8f63e94ee5 100644 --- a/src/libsyntax/ext/deriving/generic/mod.rs +++ b/src/libsyntax/ext/deriving/generic/mod.rs @@ -739,7 +739,7 @@ fn find_repr_type_name(diagnostic: &SpanHandler, for a in type_attrs { for r in &attr::find_repr_attrs(diagnostic, a) { repr_type_name = match *r { - attr::ReprAny | attr::ReprPacked => continue, + attr::ReprAny | attr::ReprPacked | attr::ReprSimd => continue, attr::ReprExtern => "i32", attr::ReprInt(_, attr::SignedInt(ast::TyIs)) => "isize", |
