about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-09-30 16:47:27 +0000
committerbors <bors@rust-lang.org>2014-09-30 16:47:27 +0000
commitfa6b2d4c3b81e6adcfae87dac25fb7d50b2dd39f (patch)
tree0794d5d028a1ec634f19bc5c5381cf5b663ce331 /src/libsyntax
parent38015eeb7010e5954a1bc60fddc1214a5f359627 (diff)
parent78e2503db31d7d07af98055ca284b0fb14752bf9 (diff)
downloadrust-fa6b2d4c3b81e6adcfae87dac25fb7d50b2dd39f.tar.gz
rust-fa6b2d4c3b81e6adcfae87dac25fb7d50b2dd39f.zip
auto merge of #17647 : pcwalton/rust/stop-looking-in-metadata-in-tc, r=cmr
I don't know exactly what made this regress so badly…maybe it was all the lifetimes that @eddyb landed. According to `git blame` this is all somewhat old code. Regardless this is an enormous improvement in compile times.

r? @brson 
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/attr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs
index efc75de7142..8963185192a 100644
--- a/src/libsyntax/attr.rs
+++ b/src/libsyntax/attr.rs
@@ -508,7 +508,7 @@ fn int_type_of_word(s: &str) -> Option<IntType> {
     }
 }
 
-#[deriving(PartialEq, Show)]
+#[deriving(PartialEq, Show, Encodable, Decodable)]
 pub enum ReprAttr {
     ReprAny,
     ReprInt(Span, IntType),
@@ -527,7 +527,7 @@ impl ReprAttr {
     }
 }
 
-#[deriving(Eq, Hash, PartialEq, Show)]
+#[deriving(Eq, Hash, PartialEq, Show, Encodable, Decodable)]
 pub enum IntType {
     SignedInt(ast::IntTy),
     UnsignedInt(ast::UintTy)