MacroExpansionWarningMessage

An warning during macro expansion that is described by its message.

MacroExpansionDiagnosticMessages.swift:45
struct MacroExpansionWarningMessage

This type allows macro authors to quickly generate warning messages based on a string. For any non-trivial warning messages, it is encouraged to define a custom type that conforms to DiagnosticMessage.