Skip to content

Commit 70bfa89

Browse files
Merge pull request swiftlang#32864 from nate-chandler/loosen-Generics-deduction-expectation
[Test] Loosen Generics/deduction.swift expectation.
2 parents 9d5e9d7 + eb7a834 commit 70bfa89

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)