Skip to content

Commit 6ba6716

Browse files
authored
Merge pull request #2119 from rust-lang/Nemo157/gen-size-change
Update expected size of `select_on_non_unpin_size`
2 parents 2f8943d + e679f3b commit 6ba6716

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ matrix:
145145
- name: cargo doc
146146
rust: nightly
147147
script:
148-
- RUSTDOCFLAGS=-Dwarnings cargo doc --workspace --no-deps --all-features
148+
# TODO: Remove -Aunused_braces once https://github.com/rust-lang/rust/issues/70814 is fixed
149+
- RUSTDOCFLAGS="-Dwarnings -Aunused_braces" cargo doc --workspace --no-deps --all-features
149150

150151
script:
151152
- cargo test --workspace --all-features

futures/tests/async_await_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ fn select_on_non_unpin_size() {
284284
select_res
285285
};
286286

287-
assert_eq!(48, std::mem::size_of_val(&fut));
287+
assert_eq!(32, std::mem::size_of_val(&fut));
288288
}
289289

290290
#[cfg(all(feature = "async-await", feature = "std", feature = "executor"))]

0 commit comments

Comments
 (0)