We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36b066d + 4279bd5 commit bfbb15aCopy full SHA for bfbb15a
src/test/ui/async-await/async-fn-size-uninit-locals.rs
@@ -67,9 +67,7 @@ async fn joined() {
67
let c = Big::new();
68
69
fut().await;
70
- noop();
71
joiner = Joiner { a: Some(a), b: Some(b), c: Some(c) };
72
73
}
74
75
async fn joined_with_noop() {
@@ -97,7 +95,7 @@ async fn join_retval() -> Joiner {
97
95
fn main() {
98
96
assert_eq!(2, std::mem::size_of_val(&single()));
99
assert_eq!(3, std::mem::size_of_val(&single_with_noop()));
100
- assert_eq!(3078, std::mem::size_of_val(&joined()));
+ assert_eq!(3074, std::mem::size_of_val(&joined()));
101
assert_eq!(3078, std::mem::size_of_val(&joined_with_noop()));
102
assert_eq!(3074, std::mem::size_of_val(&join_retval()));
103
0 commit comments