File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ extension Maybe: Copyable {}
6767extension Maybe : Show where Value: Show & ~ Copyable {
6868 public borrowing func show( ) -> String {
6969 switch self {
70- case let . just( borrowing elm) :
70+ case let . just( elm) :
7171 return elm. show ( )
7272 case . nothing:
7373 return " <nothing> "
@@ -78,9 +78,9 @@ extension Maybe: Show where Value: Show & ~Copyable {
7878extension Maybe : Eq where Value: Eq , Value: ~ Copyable {
7979 public static func == ( _ a: borrowing Self , _ b: borrowing Self ) -> Bool {
8080 switch a {
81- case let . just( borrowing a1 ) :
81+ case let . just( a1) :
8282 switch b {
83- case let . just( borrowing b1 ) :
83+ case let . just( b1) :
8484 return a1 == b1
8585 case . nothing:
8686 return false
Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
22
33// RUN: %target-build-swift \
4+ // RUN: -emit-module \
45// RUN: -emit-module-path %t \
56// RUN: -enable-library-evolution \
67// RUN: -module-name Swiftskell \
78// RUN: -parse-as-library \
8- // RUN: %S/../Inputs/Swiftskell.swift -c -o %t/Swiftskell.o \
9+ // RUN: %S/../Inputs/Swiftskell.swift \
10+ // RUN: -enable-experimental-feature SuppressedAssociatedTypes \
911// RUN: -enable-experimental-feature NonescapableTypes
1012
11- // RUN: %target-build-swift -o %t/a.out % s -I %t %t/Swiftskell.o
13+ // RUN: %target-build-swift % s -I %t -o %t/a.out
1214// RUN: %target-codesign %t/a.out
1315// RUN: %target-run %t/a.out | %FileCheck %s
1416
You can’t perform that action at this time.
0 commit comments