diff options
Diffstat (limited to 'tests/rustdoc-ui/auxiliary/extern_macros.rs')
-rw-r--r-- | tests/rustdoc-ui/auxiliary/extern_macros.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/auxiliary/extern_macros.rs b/tests/rustdoc-ui/auxiliary/extern_macros.rs new file mode 100644 index 000000000..ee1fec4c5 --- /dev/null +++ b/tests/rustdoc-ui/auxiliary/extern_macros.rs @@ -0,0 +1,7 @@ +#[macro_export] +macro_rules! attrs_on_struct { + ( $( #[$attr:meta] )* ) => { + $( #[$attr] )* + pub struct ExpandedStruct; + } +} |