about summary refs log tree commit diff
path: root/src/libsyntax/codemap.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-03-29 02:56:40 -0700
committerbors <bors@rust-lang.org>2014-03-29 02:56:40 -0700
commitdf9cf18c10099d15146580ab6a2b64f2d2007a89 (patch)
tree259e7a17e182a4d61d68a6878242689a556bae5e /src/libsyntax/codemap.rs
parent02d186ad9ba699f7824969fb60a19042613d5d60 (diff)
parenta9c6061c9a542a617020073d0a6b187849d0e348 (diff)
downloadrust-df9cf18c10099d15146580ab6a2b64f2d2007a89.tar.gz
rust-df9cf18c10099d15146580ab6a2b64f2d2007a89.zip
auto merge of #13188 : FlaPer87/rust/master, r=alexcrichton
Diffstat (limited to 'src/libsyntax/codemap.rs')
-rw-r--r--src/libsyntax/codemap.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs
index f3ff7f97ee2..974868c1610 100644
--- a/src/libsyntax/codemap.rs
+++ b/src/libsyntax/codemap.rs
@@ -110,23 +110,6 @@ impl Eq for Span {
 
 impl TotalEq for Span {}
 
-// FIXME: remove stage0 Encodables/Decodables after snapshot
-#[cfg(stage0)]
-impl<S:Encoder> Encodable<S> for Span {
-    /* Note #1972 -- spans are encoded but not decoded */
-    fn encode(&self, s: &mut S) {
-        s.emit_nil()
-    }
-}
-
-#[cfg(stage0)]
-impl<D:Decoder> Decodable<D> for Span {
-    fn decode(_d: &mut D) -> Span {
-        DUMMY_SP
-    }
-}
-
-#[cfg(not(stage0))]
 impl<S:Encoder<E>, E> Encodable<S, E> for Span {
     /* Note #1972 -- spans are encoded but not decoded */
     fn encode(&self, s: &mut S) -> Result<(), E> {
@@ -134,7 +117,6 @@ impl<S:Encoder<E>, E> Encodable<S, E> for Span {
     }
 }
 
-#[cfg(not(stage0))]
 impl<D:Decoder<E>, E> Decodable<D, E> for Span {
     fn decode(_d: &mut D) -> Result<Span, E> {
         Ok(DUMMY_SP)