From 2d12746b684617aaca7fcc379d9643d60a21a533 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Thu, 6 Jun 2019 17:26:56 +0900 Subject: [PATCH] Ignore doc tests which "Broken MIR" ICE occurred --- futures-util/src/stream/mod.rs | 9 ++++++--- futures-util/src/try_stream/mod.rs | 6 ++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/futures-util/src/stream/mod.rs b/futures-util/src/stream/mod.rs index 6d0765cdef..c358a80c8b 100644 --- a/futures-util/src/stream/mod.rs +++ b/futures-util/src/stream/mod.rs @@ -407,7 +407,8 @@ pub trait StreamExt: Stream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc; @@ -444,7 +445,8 @@ pub trait StreamExt: Stream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc; @@ -507,7 +509,8 @@ pub trait StreamExt: Stream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc; diff --git a/futures-util/src/try_stream/mod.rs b/futures-util/src/try_stream/mod.rs index c094cd125f..048382a4fc 100644 --- a/futures-util/src/try_stream/mod.rs +++ b/futures-util/src/try_stream/mod.rs @@ -449,7 +449,8 @@ pub trait TryStreamExt: TryStream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc; @@ -607,7 +608,8 @@ pub trait TryStreamExt: TryStream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc;