summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/auxiliary/lints-in-foreign-macros.rs
blob: b969d9dbaa3e3af7845791713f968779370874ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[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)*)
}