rust/tests/ui/lint/auxiliary/lints-in-foreign-macros.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
203 B
Rust
Raw Normal View History

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