7b7c26f09b
Also allow `impl Trait` in delegated functions. The delegation item will refer to the original opaque type from the callee, fresh opaque type won't be created.
10 lines
259 B
Rust
10 lines
259 B
Rust
//@ edition:2018
|
|
|
|
#![feature(c_variadic)]
|
|
|
|
pub unsafe fn unsafe_fn_extern() {}
|
|
pub extern "C" fn extern_fn_extern() {}
|
|
pub unsafe extern "C" fn variadic_fn_extern(n: usize, mut args: ...) {}
|
|
pub const fn const_fn_extern() {}
|
|
pub async fn async_fn_extern() {}
|