Skip to content

Commit 2d12746

Browse files
taiki-ecramertj
authored andcommitted
Ignore doc tests which "Broken MIR" ICE occurred
1 parent dae0b87 commit 2d12746

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

futures-util/src/stream/mod.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,8 @@ pub trait StreamExt: Stream {
407407
///
408408
/// # Examples
409409
///
410-
/// ```
410+
// TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657
411+
/// ```ignore
411412
/// #![feature(async_await)]
412413
/// # futures::executor::block_on(async {
413414
/// use futures::channel::mpsc;
@@ -444,7 +445,8 @@ pub trait StreamExt: Stream {
444445
///
445446
/// # Examples
446447
///
447-
/// ```
448+
// TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657
449+
/// ```ignore
448450
/// #![feature(async_await)]
449451
/// # futures::executor::block_on(async {
450452
/// use futures::channel::mpsc;
@@ -507,7 +509,8 @@ pub trait StreamExt: Stream {
507509
///
508510
/// # Examples
509511
///
510-
/// ```
512+
// TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657
513+
/// ```ignore
511514
/// #![feature(async_await)]
512515
/// # futures::executor::block_on(async {
513516
/// use futures::channel::mpsc;

futures-util/src/try_stream/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@ pub trait TryStreamExt: TryStream {
449449
///
450450
/// # Examples
451451
///
452-
/// ```
452+
// TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657
453+
/// ```ignore
453454
/// #![feature(async_await)]
454455
/// # futures::executor::block_on(async {
455456
/// use futures::channel::mpsc;
@@ -607,7 +608,8 @@ pub trait TryStreamExt: TryStream {
607608
///
608609
/// # Examples
609610
///
610-
/// ```
611+
// TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657
612+
/// ```ignore
611613
/// #![feature(async_await)]
612614
/// # futures::executor::block_on(async {
613615
/// use futures::channel::mpsc;

0 commit comments

Comments
 (0)