Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Ignore doc tests which "Broken MIR" ICE occurred" #1685

Merged
merged 3 commits into from
Jul 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,16 @@ matrix:
- name: cargo test
rust: nightly
os: osx
before_script:
# TODO: https://github.com/rust-lang-nursery/futures-rs/pull/1685#issuecomment-506927847
- rustup update

- name: cargo test
rust: nightly
os: linux
before_script:
# TODO: https://github.com/rust-lang-nursery/futures-rs/pull/1685#issuecomment-506927847
- rustup update

- name: cargo build (with minimal versions)
rust: nightly
Expand Down
11 changes: 4 additions & 7 deletions futures-util/src/stream/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,7 @@ 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;
Expand All @@ -421,7 +420,7 @@ pub trait StreamExt: Stream {
/// let (tx, rx) = mpsc::unbounded();
///
/// thread::spawn(move || {
/// for i in (1..=5) {
/// for i in 1..=5 {
/// tx.unbounded_send(i).unwrap();
/// }
/// });
Expand All @@ -448,8 +447,7 @@ 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;
Expand Down Expand Up @@ -512,8 +510,7 @@ 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;
Expand Down
12 changes: 5 additions & 7 deletions futures-util/src/try_stream/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,18 +449,17 @@ 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;
/// use futures::stream::TryStreamExt;
/// use std::thread;
///
/// let (mut tx, rx) = mpsc::unbounded();
/// let (tx, rx) = mpsc::unbounded();
///
/// thread::spawn(move || {
/// for i in (1..=5) {
/// for i in 1..=5 {
/// tx.unbounded_send(Ok(i)).unwrap();
/// }
/// tx.unbounded_send(Err(6)).unwrap();
Expand Down Expand Up @@ -608,15 +607,14 @@ 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;
/// use futures::stream::TryStreamExt;
/// use std::thread;
///
/// let (mut tx, rx) = mpsc::unbounded::<Result<Vec<i32>, ()>>();
/// let (tx, rx) = mpsc::unbounded::<Result<Vec<i32>, ()>>();
///
/// thread::spawn(move || {
/// for i in (0..3).rev() {
Expand Down