Skip to content

Commit f9d73c1

Browse files
committed
Fix expected NoncopyableGenerics guards
(cherry picked from commit c8e92fa)
1 parent ef54982 commit f9d73c1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/ModuleInterface/lifetime_dependence_test.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,11 @@
2525

2626
import lifetime_dependence
2727

28-
// CHECK: #if compiler(>=5.3) && $NoncopyableGenerics
2928
// CHECK: @inlinable internal init(_ ptr: Swift.UnsafeRawBufferPointer, _ a: borrowing Swift.Array<Swift.Int>) -> dependsOn(a) Self {
3029
// CHECK: @inlinable internal init(_ ptr: Swift.UnsafeRawBufferPointer, _ a: consuming lifetime_dependence.AnotherView) -> dependsOn(a) Self {
31-
// CHECK: #endif
3230

33-
// CHECK: #if compiler(>=5.3) && $NoncopyableGenerics
3431
// CHECK: @inlinable public func derive(_ x: consuming lifetime_dependence.BufferView) -> dependsOn(x) lifetime_dependence.BufferView {
35-
// CHECK: #endif
3632

37-
// CHECK: #if compiler(>=5.3) && $NoncopyableGenerics
3833
// CHECK: @inlinable public func consumeAndCreate(_ view: consuming lifetime_dependence.BufferView) -> dependsOn(view) lifetime_dependence.BufferView {
39-
// CHECK: #endif
4034

41-
// CHECK: #if compiler(>=5.3) && $NoncopyableGenerics
4235
// CHECK: @inlinable public func deriveThisOrThat(_ this: consuming lifetime_dependence.BufferView, _ that: consuming lifetime_dependence.BufferView) -> dependsOn(this) dependsOn(that) lifetime_dependence.BufferView {
43-
// CHECK: #endif

0 commit comments

Comments
 (0)