diff options
| author | bors <bors@rust-lang.org> | 2014-09-04 06:41:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-04 06:41:04 +0000 |
| commit | 5924937a5a6d59baabb4f3d94b1cf5b2bf2136eb (patch) | |
| tree | af2745b8de79060cd9f1ccfb50132ff8a7e70fe6 /src/libsyntax | |
| parent | 1f49e02d1dd4cd4198ed658c7b36592c491f8563 (diff) | |
| parent | 6f35ede5a475c286066d8d88cb9a519be2133d0d (diff) | |
| download | rust-5924937a5a6d59baabb4f3d94b1cf5b2bf2136eb.tar.gz rust-5924937a5a6d59baabb4f3d94b1cf5b2bf2136eb.zip | |
auto merge of #16883 : jakub-/rust/issue-16648, r=pcwalton
They were only correct in the simplest case. Some of the optimisations are certainly possible but should be introduced carefully and only when the whole pattern codegen infrastructure is in a better shape. Fixes #16648.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/attr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index 4b2a3073755..c234bea0a33 100644 --- a/src/libsyntax/attr.rs +++ b/src/libsyntax/attr.rs @@ -498,7 +498,7 @@ impl ReprAttr { } } -#[deriving(PartialEq, Show)] +#[deriving(Eq, Hash, PartialEq, Show)] pub enum IntType { SignedInt(ast::IntTy), UnsignedInt(ast::UintTy) |
