diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-02-14 11:32:00 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2017-02-25 18:35:25 +0200 |
| commit | ba11640179bbde334b525146d3a164999412cc73 (patch) | |
| tree | 7335fd5d4cccc29807bc5dcbf780647d1f92ebbe /src/libsyntax_ext | |
| parent | 9c3c306800313a119d236e607209e831187e7501 (diff) | |
| download | rust-ba11640179bbde334b525146d3a164999412cc73.tar.gz rust-ba11640179bbde334b525146d3a164999412cc73.zip | |
rustc_typeck: hook up collect and item/body check to on-demand.
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 ce64aef516f..fe492bd7fc8 100644 --- a/src/libsyntax_ext/deriving/generic/mod.rs +++ b/src/libsyntax_ext/deriving/generic/mod.rs @@ -773,7 +773,7 @@ fn find_repr_type_name(diagnostic: &Handler, type_attrs: &[ast::Attribute]) -> & for a in type_attrs { for r in &attr::find_repr_attrs(diagnostic, a) { repr_type_name = match *r { - attr::ReprAny | attr::ReprPacked | attr::ReprSimd => continue, + attr::ReprPacked | attr::ReprSimd => continue, attr::ReprExtern => "i32", attr::ReprInt(attr::SignedInt(ast::IntTy::Is)) => "isize", |
