Skip to content

Commit e7ecdc1

Browse files
dtolnaycalebcartwright
authored andcommitted
Remove async fn from extern block tests
1 parent 3bf67c1 commit e7ecdc1

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

tests/source/extern.rs

-5
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ libc::c_long;
6060
-> *mut FILE;
6161

6262

63-
async fn foo(
64-
65-
) -> *mut
66-
Bar;
6763
const fn foo(
6864

6965
) ->
@@ -74,7 +70,6 @@ libc::c_long;
7470
mut
7571
Bar;
7672

77-
pub async fn foo() -> *mut Bar;
7873
pub(super) const fn foo() -> *mut Bar;
7974
pub(crate) unsafe fn foo() -> *mut Bar;
8075
}

tests/target/extern.rs

-2
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,9 @@ extern "C" {
7474
file: *mut FILE,
7575
) -> *mut FILE;
7676

77-
async fn foo() -> *mut Bar;
7877
const fn foo() -> *mut Bar;
7978
unsafe fn foo() -> *mut Bar;
8079

81-
pub async fn foo() -> *mut Bar;
8280
pub(super) const fn foo() -> *mut Bar;
8381
pub(crate) unsafe fn foo() -> *mut Bar;
8482
}

0 commit comments

Comments
 (0)