We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf80250 commit ea2acc6Copy full SHA for ea2acc6
test/Parse/confusables.swift
@@ -17,5 +17,6 @@ if (true ꝸꝸꝸ false) {} // expected-note {{identifier 'ꝸꝸꝸ' contains
17
18
// expected-error @+3 {{invalid character in source file}}
19
// expected-error @+2 {{expected ',' separator}}
20
-// expected-error @+1 {{argument type '(Int, Int)' does not conform to expected type 'BinaryInteger'}}
+// expected-error @+1 {{type '(Int, Int)' cannot conform to 'BinaryInteger'; only struct/enum/class types can conform to protocols}}
21
if (5 ‒ 5) == 0 {} // expected-note {{unicode character '‒' looks similar to '-'; did you mean to use '-'?}} {{7-10=-}}
22
+// expected-note @-1 {{required by referencing operator function '==' on 'BinaryInteger' where 'Self' = '(Int, Int)'}}
0 commit comments