Skip to content

Commit 04de85b

Browse files
authored
Work around rdar://128091794. (#417)
This PR attempts to work around the compiler regression tracked in the aforementioned Apple radar. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 9c31ad5 commit 04de85b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/Testing/Events/Recorder/Event.ConsoleOutputRecorder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ extension Event {
1515
/// The format of the output is not meant to be machine-readable and is
1616
/// subject to change. For machine-readable output, use ``JUnitXMLRecorder``.
1717
@_spi(ForToolsIntegrationOnly)
18-
public struct ConsoleOutputRecorder: Sendable, ~Copyable {
18+
public struct ConsoleOutputRecorder: Sendable/*, ~Copyable*/ {
1919
/// A type describing options to use when writing events to a stream.
2020
public struct Options: Sendable {
2121
/// Use [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)

Sources/Testing/Events/Recorder/Event.HumanReadableOutputRecorder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extension Event {
1818
/// The format of the output is not meant to be machine-readable and is
1919
/// subject to change. For machine-readable output, use ``JUnitXMLRecorder``.
2020
@_spi(ForToolsIntegrationOnly)
21-
public struct HumanReadableOutputRecorder: Sendable, ~Copyable {
21+
public struct HumanReadableOutputRecorder: Sendable/*, ~Copyable*/ {
2222
/// A type describing a human-readable message produced by an instance of
2323
/// ``Event/HumanReadableOutputRecorder``.
2424
public struct Message: Sendable {

Sources/Testing/Events/Recorder/Event.JUnitXMLRecorder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extension Event {
1212
/// A type which handles ``Event`` instances and outputs representations of
1313
/// them as JUnit-compatible XML.
1414
@_spi(ForToolsIntegrationOnly)
15-
public struct JUnitXMLRecorder: Sendable, ~Copyable {
15+
public struct JUnitXMLRecorder: Sendable/*, ~Copyable*/ {
1616
/// The write function for this event recorder.
1717
var write: @Sendable (String) -> Void
1818

0 commit comments

Comments
 (0)