Skip to content

Commit bed0f2f

Browse files
committed
This is a testcase update that was meant to go with r13792f915e0406d325db7ec0c22ff6370f99e090
1 parent 13792f9 commit bed0f2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/TypeCoercion/protocols.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ var fp : FormattedPrintable = IsPrintable1()
119119
var ip1 : IsPrintable1
120120

121121
refCoercion(&p)
122-
refCoercion(&fp) // expected-error{{cannot pass immutable value of type 'MyPrintable' as inout argument}}
122+
refCoercion(&fp) // expected-error{{cannot pass immutable value as inout argument: implicit conversion from 'FormattedPrintable' to 'MyPrintable' requires a temporary}}
123123
refCoercion(&ip1) // expected-error{{cannot pass immutable value as inout argument: implicit conversion from 'IsPrintable1' to 'MyPrintable' requires a temporary}}
124124

125125
protocol IntSubscriptable {

0 commit comments

Comments
 (0)