diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-07 17:18:01 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-07 17:18:01 -0800 |
| commit | dd38f46d71872fba50833fd22313ef49eb01d079 (patch) | |
| tree | f4306baac76c8869273d49e0dd8da0251df4bc2d /src/libserialize | |
| parent | b21a0cee19ab1cdbe57c7f277a9cc9f2658ebce2 (diff) | |
| parent | 321d9ddff21b532300a9ced6ae7ce5f902c0fbf5 (diff) | |
| download | rust-dd38f46d71872fba50833fd22313ef49eb01d079.tar.gz rust-dd38f46d71872fba50833fd22313ef49eb01d079.zip | |
rollup merge of #20708: aturon/new-int-modules
Conflicts: src/libserialize/lib.rs
Diffstat (limited to 'src/libserialize')
| -rw-r--r-- | src/libserialize/json.rs | 8 | ||||
| -rw-r--r-- | src/libserialize/lib.rs | 3 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/libserialize/json.rs b/src/libserialize/json.rs index 9e87c90d2e5..4b631d7ef9e 100644 --- a/src/libserialize/json.rs +++ b/src/libserialize/json.rs @@ -2458,14 +2458,6 @@ impl<'a> fmt::String for PrettyJson<'a> { } } -#[cfg(stage0)] -//NOTE(stage0): remove impl after snapshot -impl<'a, T: Encodable> fmt::Show for AsJson<'a, T> { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - fmt::String::fmt(self, f) - } -} - impl<'a, T: Encodable> fmt::String for AsJson<'a, T> { /// Encodes a json value into a string fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { diff --git a/src/libserialize/lib.rs b/src/libserialize/lib.rs index d1e7f6967bf..d51f070632f 100644 --- a/src/libserialize/lib.rs +++ b/src/libserialize/lib.rs @@ -24,8 +24,9 @@ Core encoding and decoding interfaces. html_root_url = "http://doc.rust-lang.org/nightly/", html_playground_url = "http://play.rust-lang.org/")] #![allow(unknown_features)] -#![feature(slicing_syntax)] #![cfg_attr(stage0, allow(unused_attributes))] +#![feature(old_impl_check)] +#![feature(slicing_syntax)] // test harness access #[cfg(test)] extern crate test; |
