Skip to content

Commit 686655b

Browse files
committed
Update expected diagnostics
1 parent f74d6f7 commit 686655b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/compiler_crashers_2_fixed/0161-sr6569.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ protocol P {
66

77
struct Type<Param> {}
88
extension Type: P where Param: P, Param.A == Type<Param> {
9-
// expected-error@-1 6{{extension of generic struct 'Type' has self-referential generic requirements}}
9+
// expected-error@-1 8{{extension of generic struct 'Type' has self-referential generic requirements}}
1010
// expected-note@-2 6{{through reference here}}
1111
// expected-error@-3 {{type 'Type<Param>' does not conform to protocol 'P'}}
1212
typealias A = Param

0 commit comments

Comments
 (0)