about summary refs log tree commit diff
path: root/src/libsyntax/ptr.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-19 18:35:52 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-20 22:17:17 -0800
commit6686f7aa471f162697d08a78ad4d04d3c0e9612c (patch)
tree038bc233524ca60ad55a6303c8601170a8a1039b /src/libsyntax/ptr.rs
parent522d09dfecbeca1595f25ac58c6d0178bbd21d7d (diff)
downloadrust-6686f7aa471f162697d08a78ad4d04d3c0e9612c.tar.gz
rust-6686f7aa471f162697d08a78ad4d04d3c0e9612c.zip
Register new snapshots
Diffstat (limited to 'src/libsyntax/ptr.rs')
-rw-r--r--src/libsyntax/ptr.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libsyntax/ptr.rs b/src/libsyntax/ptr.rs
index adb5383a8fd..ca3a1848c3a 100644
--- a/src/libsyntax/ptr.rs
+++ b/src/libsyntax/ptr.rs
@@ -111,13 +111,6 @@ impl<T: Display> Display for P<T> {
     }
 }
 
-#[cfg(stage0)]
-impl<S: Hasher, T: Hash<S>> Hash<S> for P<T> {
-    fn hash(&self, state: &mut S) {
-        (**self).hash(state);
-    }
-}
-#[cfg(not(stage0))]
 impl<T: Hash> Hash for P<T> {
     fn hash<H: Hasher>(&self, state: &mut H) {
         (**self).hash(state);