about summary refs log tree commit diff
path: root/src/libserialize
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-01-01 16:45:22 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-01-02 04:06:09 -0500
commit5c34781a7d3f5b6761fa564a4a9ebeb19bb50cc1 (patch)
tree9db3b3be1ad023fd5fbbe389f0defdec5662481c /src/libserialize
parentc61a0092bc236c4be4cb691fcd50ff50e91ab0d6 (diff)
downloadrust-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.rs9
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};