]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-level-macro-def.rs
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / 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() {}