about summary refs log tree commit diff
path: root/src/libsyntax_ext
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2017-02-14 11:32:00 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2017-02-25 18:35:25 +0200
commitba11640179bbde334b525146d3a164999412cc73 (patch)
tree7335fd5d4cccc29807bc5dcbf780647d1f92ebbe /src/libsyntax_ext
parent9c3c306800313a119d236e607209e831187e7501 (diff)
downloadrust-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.rs2
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",