diff --git a/.travis.yml b/.travis.yml index 93526353b8..96131ab204 100644 --- a/.travis.yml +++ b/.travis.yml @@ -145,7 +145,8 @@ matrix: - name: cargo doc rust: nightly script: - - RUSTDOCFLAGS=-Dwarnings cargo doc --workspace --no-deps --all-features + # TODO: Remove -Aunused_braces once https://github.com/rust-lang/rust/issues/70814 is fixed + - RUSTDOCFLAGS="-Dwarnings -Aunused_braces" cargo doc --workspace --no-deps --all-features script: - cargo test --workspace --all-features diff --git a/futures/tests/async_await_macros.rs b/futures/tests/async_await_macros.rs index a90d844cd3..fd2a3497ec 100644 --- a/futures/tests/async_await_macros.rs +++ b/futures/tests/async_await_macros.rs @@ -284,7 +284,7 @@ fn select_on_non_unpin_size() { select_res }; - assert_eq!(48, std::mem::size_of_val(&fut)); + assert_eq!(32, std::mem::size_of_val(&fut)); } #[cfg(all(feature = "async-await", feature = "std", feature = "executor"))]