2018-06-25 22:04:08 -05:00
|
|
|
//@ edition:2018
|
2018-04-23 17:50:28 -05:00
|
|
|
|
2018-08-24 15:48:20 -05:00
|
|
|
#![allow(keyword_idents)]
|
2018-04-23 17:50:28 -05:00
|
|
|
|
|
|
|
#[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)
|
|
|
|
}
|
2024-01-05 08:25:31 -06:00
|
|
|
|
|
|
|
#[macro_export]
|
|
|
|
macro_rules! passes_tt {
|
|
|
|
($i: tt) => ($i)
|
|
|
|
}
|