rust/tests/ui/macros/macro-rules-attr.run.stdout
Josh Triplett 4f999f72de mbe: Add test for macro_rules attributes
Test macros via path and local macros.
2025-08-08 11:01:12 -07:00

16 lines
714 B
Plaintext

exported_attr: args="", body="struct S;"
exported_attr: args="arguments, key = \"value\"", body="fn func(_arg: u32) {}"
exported_attr: args="1", body="#[self::exported_attr(2)] struct Twice;"
exported_attr!("")
exported_attr!("invoked, arguments")
exported_attr: args="", body="struct S;"
exported_attr: args="arguments, key = \"value\"", body="fn func(_arg: u32) {}"
exported_attr: args="1", body="#[exported_attr(2)] struct Twice;"
exported_attr!("")
exported_attr!("invoked, arguments")
local_attr: args="", body="struct S;"
local_attr: args="arguments, key = \"value\"", body="fn func(_arg: u32) {}"
local_attr: args="1", body="#[local_attr(2)] struct Twice;"
local_attr!("")
local_attr!("invoked, arguments")