Skip to content

Commit ba2f05c

Browse files
committed
NCGenerics: adjust number of diagnostics
Something I changed in the implementation of NoncopyableGenerics has gotten the number back down to 6, where it was before I started :)
1 parent 47a2fe8 commit ba2f05c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation-test/compiler_crashers_2_fixed/0161-issue-49119.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ protocol P {
88

99
struct Type<Param> {}
1010
extension Type: P where Param: P, Param.A == Type<Param> {
11-
// expected-error@-1 7{{extension of generic struct 'Type' has self-referential generic requirements}}
12-
// expected-note@-2 7{{through reference here}}
11+
// expected-error@-1 6{{extension of generic struct 'Type' has self-referential generic requirements}}
12+
// expected-note@-2 6{{through reference here}}
1313
// expected-error@-3 {{type 'Type<Param>' does not conform to protocol 'P'}}
1414
typealias A = Param
1515
// expected-note@-1 2{{through reference here}}

0 commit comments

Comments
 (0)