mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
This reverts commit b24df49a9d so we can
merge the CHANGELOG changes in #4691 into master.
14 lines
266 B
Rust
14 lines
266 B
Rust
use tests_build::tokio;
|
|
|
|
fn main() {}
|
|
|
|
// arguments and output type is forwarded so other macros can access them
|
|
|
|
#[tokio::test]
|
|
async fn test_fn_has_args(_x: u8) {}
|
|
|
|
#[tokio::test]
|
|
async fn test_has_output() -> Result<(), Box<dyn std::error::Error>> {
|
|
Ok(())
|
|
}
|