Skip to content

Commit 523ab46

Browse files
committed
Move ignore-pass to large-arg test
1 parent ba685ee commit 523ab46

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Diff for: tests/ui/async-await/future-sizes/future-as-arg.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// edition: 2021
22
// run-pass
3-
// ignore-pass
43

54
async fn test(_arg: [u8; 8192]) {}
65

Diff for: tests/ui/async-await/future-sizes/large-arg.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// compile-flags: -Z print-type-sizes --crate-type=lib
22
// edition: 2021
33
// build-pass
4+
// ignore-pass
45

56
pub async fn test() {
67
let _ = a([0u8; 1024]).await;

Diff for: tests/ui/async-await/future-sizes/large-arg.stdout

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
print-type-size type: `[async fn body@$DIR/large-arg.rs:5:21: 7:2]`: 3076 bytes, alignment: 1 bytes
1+
print-type-size type: `[async fn body@$DIR/large-arg.rs:6:21: 8:2]`: 3076 bytes, alignment: 1 bytes
22
print-type-size discriminant: 1 bytes
33
print-type-size variant `Suspend0`: 3075 bytes
44
print-type-size field `.__awaitee`: 3075 bytes, offset: 0 bytes, alignment: 1 bytes
55
print-type-size variant `Unresumed`: 0 bytes
66
print-type-size variant `Returned`: 0 bytes
77
print-type-size variant `Panicked`: 0 bytes
8-
print-type-size type: `[async fn body@$DIR/large-arg.rs:9:30: 11:2]`: 3075 bytes, alignment: 1 bytes
8+
print-type-size type: `[async fn body@$DIR/large-arg.rs:10:30: 12:2]`: 3075 bytes, alignment: 1 bytes
99
print-type-size discriminant: 1 bytes
1010
print-type-size variant `Suspend0`: 3074 bytes
1111
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
@@ -16,13 +16,13 @@ print-type-size variant `Returned`: 1024 bytes
1616
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
1717
print-type-size variant `Panicked`: 1024 bytes
1818
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
19-
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:9:30: 11:2]>`: 3075 bytes, alignment: 1 bytes
19+
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:10:30: 12:2]>`: 3075 bytes, alignment: 1 bytes
2020
print-type-size field `.value`: 3075 bytes
21-
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:9:30: 11:2]>`: 3075 bytes, alignment: 1 bytes
21+
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:10:30: 12:2]>`: 3075 bytes, alignment: 1 bytes
2222
print-type-size variant `MaybeUninit`: 3075 bytes
2323
print-type-size field `.uninit`: 0 bytes
2424
print-type-size field `.value`: 3075 bytes
25-
print-type-size type: `[async fn body@$DIR/large-arg.rs:12:26: 14:2]`: 2050 bytes, alignment: 1 bytes
25+
print-type-size type: `[async fn body@$DIR/large-arg.rs:13:26: 15:2]`: 2050 bytes, alignment: 1 bytes
2626
print-type-size discriminant: 1 bytes
2727
print-type-size variant `Suspend0`: 2049 bytes
2828
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
@@ -33,23 +33,23 @@ print-type-size variant `Returned`: 1024 bytes
3333
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
3434
print-type-size variant `Panicked`: 1024 bytes
3535
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
36-
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:12:26: 14:2]>`: 2050 bytes, alignment: 1 bytes
36+
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:13:26: 15:2]>`: 2050 bytes, alignment: 1 bytes
3737
print-type-size field `.value`: 2050 bytes
38-
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:12:26: 14:2]>`: 2050 bytes, alignment: 1 bytes
38+
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:13:26: 15:2]>`: 2050 bytes, alignment: 1 bytes
3939
print-type-size variant `MaybeUninit`: 2050 bytes
4040
print-type-size field `.uninit`: 0 bytes
4141
print-type-size field `.value`: 2050 bytes
42-
print-type-size type: `[async fn body@$DIR/large-arg.rs:15:26: 17:2]`: 1025 bytes, alignment: 1 bytes
42+
print-type-size type: `[async fn body@$DIR/large-arg.rs:16:26: 18:2]`: 1025 bytes, alignment: 1 bytes
4343
print-type-size discriminant: 1 bytes
4444
print-type-size variant `Unresumed`: 1024 bytes
4545
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
4646
print-type-size variant `Returned`: 1024 bytes
4747
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
4848
print-type-size variant `Panicked`: 1024 bytes
4949
print-type-size field `.t`: 1024 bytes, offset: 0 bytes, alignment: 1 bytes
50-
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:15:26: 17:2]>`: 1025 bytes, alignment: 1 bytes
50+
print-type-size type: `std::mem::ManuallyDrop<[async fn body@$DIR/large-arg.rs:16:26: 18:2]>`: 1025 bytes, alignment: 1 bytes
5151
print-type-size field `.value`: 1025 bytes
52-
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:15:26: 17:2]>`: 1025 bytes, alignment: 1 bytes
52+
print-type-size type: `std::mem::MaybeUninit<[async fn body@$DIR/large-arg.rs:16:26: 18:2]>`: 1025 bytes, alignment: 1 bytes
5353
print-type-size variant `MaybeUninit`: 1025 bytes
5454
print-type-size field `.uninit`: 0 bytes
5555
print-type-size field `.value`: 1025 bytes

0 commit comments

Comments
 (0)