Skip to content

Commit eb7a834

Browse files
committed
[Test] Eased expectation in Generics/deduction.swift.
rdar://problem/65479287
1 parent 8a8369b commit eb7a834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Generics/deduction.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ protocol Addable {
248248
}
249249
func addAddables<T : Addable, U>(_ x: T, y: T, u: U) -> T {
250250
// FIXME(diagnostics): This should report the "no exact matches" diagnostic.
251-
u + u // expected-error{{referencing operator function '+' on 'RangeReplaceableCollection' requires that 'U' conform to 'RangeReplaceableCollection'}}
251+
u + u // expected-error{{requires that 'U' conform to 'RangeReplaceableCollection'}}
252252
return x+y
253253
}
254254

0 commit comments

Comments
 (0)