mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
15 lines
203 B
Rust
15 lines
203 B
Rust
#[macro_export]
|
|
macro_rules! bar {
|
|
() => {use std::string::ToString;}
|
|
}
|
|
|
|
#[macro_export]
|
|
macro_rules! baz {
|
|
($i:item) => ($i)
|
|
}
|
|
|
|
#[macro_export]
|
|
macro_rules! baz2 {
|
|
($($i:tt)*) => ($($i)*)
|
|
}
|