Skip to content

Commit ac67ed1

Browse files
committed
Fix spelling of a new swift-syntax-600-only diagnostic.
Follow-up to #279 and #302.
1 parent 608cfcd commit ac67ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TestingMacros/Support/DiagnosticMessage.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ struct DiagnosticMessage: SwiftDiagnostics.DiagnosticMessage {
245245
// not have reliable location information.
246246
Self(
247247
syntax: Syntax(attribute),
248-
message: "The @\(attribute.attributeNameText) attribute cannot be applied within \(_kindString(for: node, includeA: true)).",
248+
message: "Attribute \(_macroName(attribute)) cannot be applied within \(_kindString(for: node, includeA: true)).",
249249
severity: .error
250250
)
251251
}

0 commit comments

Comments
 (0)