mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
27 lines
393 B
Rust
27 lines
393 B
Rust
// edition:2015
|
|
|
|
#[macro_export]
|
|
macro_rules! produces_async {
|
|
() => (pub fn async() {})
|
|
}
|
|
|
|
#[macro_export]
|
|
macro_rules! produces_async_raw {
|
|
() => (pub fn r#async() {})
|
|
}
|
|
|
|
#[macro_export]
|
|
macro_rules! consumes_async {
|
|
(async) => (1)
|
|
}
|
|
|
|
#[macro_export]
|
|
macro_rules! consumes_async_raw {
|
|
(r#async) => (1)
|
|
}
|
|
|
|
#[macro_export]
|
|
macro_rules! passes_ident {
|
|
($i: ident) => ($i)
|
|
}
|