File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Sources/SwiftCompilerPluginMessageHandling Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import SwiftSyntax
16
16
/// Errors in macro handing.
17
17
enum MacroExpansionError {
18
18
case macroTypeNotFound( PluginMessage . MacroReference )
19
- case unmatchedMacroRole
20
19
case freestandingMacroSyntaxIsNotMacro
21
20
case invalidExpansionMessage
22
21
case invalidMacroRole( PluginMessage . MacroRole )
@@ -28,9 +27,6 @@ extension MacroExpansionError: DiagnosticMessage {
28
27
case . macroTypeNotFound( let ref) :
29
28
return " macro type ' \( ref. moduleName) . \( ref. typeName) ' not found when expanding macro ' \( ref. name) ' "
30
29
31
- case . unmatchedMacroRole:
32
- return " macro doesn't conform to required macro role "
33
-
34
30
case . freestandingMacroSyntaxIsNotMacro:
35
31
return " macro syntax couldn't be parsed "
36
32
You can’t perform that action at this time.
0 commit comments