]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-level-macro-def.rs
Auto merge of #106984 - Dylan-DPC:rollup-xce8263, r=Dylan-DPC
[rust.git] / tests / ui / lint / lint-level-macro-def.rs
1 // Checks that you can set a lint level specficially for a macro definition.
2 //
3 // This is a regression test for issue #59306.
4 //
5 // check-pass
6
7
8 #[deny(missing_docs)]
9 mod module {
10     #[allow(missing_docs)]
11     #[macro_export]
12     macro_rules! hello {
13         () => ()
14     }
15 }
16
17 fn main() {}