Skip to content

Commit ff26a06

Browse files
fix broken test
1 parent 38e2998 commit ff26a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/compiler_crashers_fixed/00017-llvm-foldingset-llvm-attributesetnode-nodeequals.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ extension Bool : BooleanProtocol {
2020
func f<T : BooleanProtocol>(_ b: T) {}
2121
// expected-note@-1 {{required by global function 'f' where 'T' = 'BooleanProtocol'}}
2222

23-
f(true as BooleanProtocol) // expected-error {{value of protocol type 'BooleanProtocol' cannot conform to 'BooleanProtocol'; only struct/enum/class types can conform to protocols}}
23+
f(true as BooleanProtocol) // expected-error {{protocol 'BooleanProtocol' as a type cannot conform to the protocol itself; only concrete types such as structs, enums and classes can conform to protocols}}

0 commit comments

Comments
 (0)