rust/tests/ui/lint/auxiliary/lints-in-foreign-macros.rs
2023-01-11 09:32:08 +00:00

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)*)
}