macro warning(_ message: String) = #externalMacro(module: "MyMacros", type: "WarningMacro") @freestanding(declaration) macro error(_ message: String) = #externalMacro(module: "MyMacros", type: "ErrorMacro") @attached(member) macro OptionSetMembers() @attached(peer, names: overloaded) macro OptionSetMembers() #myMacro()