Skip to content

Commit 4279bd5

Browse files
committed
Remove noop from test that expects no noop
1 parent 78a891d commit 4279bd5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/ui/async-await/async-fn-size-uninit-locals.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ async fn joined() {
6767
let c = Big::new();
6868

6969
fut().await;
70-
noop();
7170
joiner = Joiner { a: Some(a), b: Some(b), c: Some(c) };
72-
noop();
7371
}
7472

7573
async fn joined_with_noop() {
@@ -97,7 +95,7 @@ async fn join_retval() -> Joiner {
9795
fn main() {
9896
assert_eq!(2, std::mem::size_of_val(&single()));
9997
assert_eq!(3, std::mem::size_of_val(&single_with_noop()));
100-
assert_eq!(3078, std::mem::size_of_val(&joined()));
98+
assert_eq!(3074, std::mem::size_of_val(&joined()));
10199
assert_eq!(3078, std::mem::size_of_val(&joined_with_noop()));
102100
assert_eq!(3074, std::mem::size_of_val(&join_retval()));
103101
}

0 commit comments

Comments
 (0)