diff options
Diffstat (limited to 'src/test/rustdoc-ui/macro-docs.rs')
-rw-r--r-- | src/test/rustdoc-ui/macro-docs.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/macro-docs.rs b/src/test/rustdoc-ui/macro-docs.rs new file mode 100644 index 000000000..0e8472eb2 --- /dev/null +++ b/src/test/rustdoc-ui/macro-docs.rs @@ -0,0 +1,12 @@ +// check-pass + +macro_rules! m { + () => { + /// A + //~^ WARNING + #[path = "auxiliary/module_macro_doc.rs"] + pub mod mymodule; + } +} + +m!(); |