Skip to content

Commit c871cc2

Browse files
committed
warning won't be triggered in this mock SDK
1 parent 8349c82 commit c871cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Concurrency/Runtime/custom_executors_tryDiagnoseExecutorConformance_with_sdk_missing_job_type.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ import _Concurrency
1919
// This is a regression test for that situation
2020

2121
final class FakeExecutor: SerialExecutor {
22-
func enqueue(_ job: UnownedJob) {} // expected-warning{{Executor.enqueue(UnownedJob)' is deprecated as a protocol requirement; conform type 'FakeExecutor' to 'Executor' by implementing 'func enqueue(Job)' instead}}
22+
func enqueue(_ job: UnownedJob) {}
2323
}

0 commit comments

Comments
 (0)