We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60547eb commit 4b4a2caCopy full SHA for 4b4a2ca
Sources/SwiftCompilerPluginMessageHandling/Diagnostics.swift
@@ -16,7 +16,6 @@ import SwiftSyntax
16
/// Errors in macro handing.
17
enum MacroExpansionError {
18
case macroTypeNotFound(PluginMessage.MacroReference)
19
- case unmatchedMacroRole
20
case freestandingMacroSyntaxIsNotMacro
21
case invalidExpansionMessage
22
case invalidMacroRole(PluginMessage.MacroRole)
@@ -28,9 +27,6 @@ extension MacroExpansionError: DiagnosticMessage {
28
27
case .macroTypeNotFound(let ref):
29
return "macro type '\(ref.moduleName).\(ref.typeName)' not found when expanding macro '\(ref.name)'"
30
31
- case .unmatchedMacroRole:
32
- return "macro doesn't conform to required macro role"
33
-
34
case .freestandingMacroSyntaxIsNotMacro:
35
return "macro syntax couldn't be parsed"
36
0 commit comments