Skip to content

Commit cd7bc86

Browse files
committed
[Test] Update error message in validation test.
1 parent ddb5c13 commit cd7bc86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/compiler_crashers_2_fixed/0159-rdar40009245.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ protocol P {
44
associatedtype A : P where A.X == Self
55
// expected-error@-1{{'X' is not a member type of type 'Self.A'}}
66
associatedtype X : P where P.A == Self
7-
// expected-error@-1{{associated type 'A' can only be used with a concrete type or generic parameter base}}
7+
// expected-error@-1{{cannot access associated type 'A' from 'P'; use a concrete type or generic parameter base instead}}
88
}

0 commit comments

Comments
 (0)