We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d553bfe commit a77e414Copy full SHA for a77e414
Sources/SwiftSyntaxMacros/MacroReplacement.swift
@@ -14,7 +14,7 @@ enum MacroExpanderError: DiagnosticMessage {
14
return "macro expansion requires a definition"
15
16
case .definitionNotMacroExpansion:
17
- return "macro definition must itself by a macro expansion expression (starting with '#')"
+ return "macro must itself be defined by a macro expansion expression (starting with '#')"
18
19
case .nonParameterReference(let name):
20
return "reference to value '\(name.text)' that is not a macro parameter in expansion"
0 commit comments