summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-level-macro-def.rs
blob: 720f4b453abf55d54cf2e1d92babda2f4213732c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Checks that you can set a lint level specficially for a macro definition.
//
// This is a regression test for issue #59306.
//
// check-pass


#[deny(missing_docs)]
mod module {
    #[allow(missing_docs)]
    #[macro_export]
    macro_rules! hello {
        () => ()
    }
}

fn main() {}