Skip to content

Commit 44e1739

Browse files
authored
Merge pull request rust-lang#2119 from rust-lang/Nemo157/gen-size-change
Update expected size of `select_on_non_unpin_size`
2 parents a807f5b + 5e3168c commit 44e1739

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
@@ -278,7 +278,7 @@ fn select_on_non_unpin_size() {
278278
select_res
279279
};
280280

281-
assert_eq!(48, std::mem::size_of_val(&fut));
281+
assert_eq!(32, std::mem::size_of_val(&fut));
282282
}
283283

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

0 commit comments

Comments
 (0)