summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-level-macro-def-mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/lint-level-macro-def-mod.rs')
-rw-r--r--src/test/ui/lint/lint-level-macro-def-mod.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/lint/lint-level-macro-def-mod.rs b/src/test/ui/lint/lint-level-macro-def-mod.rs
deleted file mode 100644
index 79f7d1206..000000000
--- a/src/test/ui/lint/lint-level-macro-def-mod.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-// This checks that exported macros lint as part of their module of origin, not
-// the root module.
-//
-// check-pass
-
-//! Top level documentation
-#![deny(missing_docs)]
-
-#[allow(missing_docs)]
-mod module {
- #[macro_export]
- macro_rules! hello {
- () => ()
- }
-}
-
-fn main() {}