diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-01-01 16:45:22 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-01-02 04:06:09 -0500 |
| commit | 5c34781a7d3f5b6761fa564a4a9ebeb19bb50cc1 (patch) | |
| tree | 9db3b3be1ad023fd5fbbe389f0defdec5662481c /src/libserialize | |
| parent | c61a0092bc236c4be4cb691fcd50ff50e91ab0d6 (diff) | |
| download | rust-5c34781a7d3f5b6761fa564a4a9ebeb19bb50cc1.tar.gz rust-5c34781a7d3f5b6761fa564a4a9ebeb19bb50cc1.zip | |
Disable the JSON doctests because they don't pass the new coherence
rules and cannot be updated until the libraries are synced, nor can they opt in to the old semantics.
Diffstat (limited to 'src/libserialize')
| -rw-r--r-- | src/libserialize/json.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libserialize/json.rs b/src/libserialize/json.rs index 684856ae33b..a734630a215 100644 --- a/src/libserialize/json.rs +++ b/src/libserialize/json.rs @@ -76,7 +76,8 @@ //! Create a struct called `TestStruct` and serialize and deserialize it to and from JSON using the //! serialization API, using the derived serialization code. //! -//! ```rust +//! ```notrust +//! // FIXME(#19470): this cannot be ```rust``` because it fails orphan checking at the moment //! extern crate serialize; //! use serialize::json; //! @@ -110,7 +111,8 @@ //! //! ### Simple example of `ToJson` usage //! -//! ```rust +//! ```notrust +//! // FIXME(#19470): this cannot be ```rust``` because it fails orphan checking at the moment //! extern crate serialize; //! use serialize::json::{mod, ToJson, Json}; //! @@ -149,7 +151,8 @@ //! //! ### Verbose example of `ToJson` usage //! -//! ```rust +//! ```notrust +//! // FIXME(#19470): this cannot be ```rust``` because it fails orphan checking at the moment //! extern crate serialize; //! use std::collections::BTreeMap; //! use serialize::json::{mod, Json, ToJson}; |
