File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ public protocol Proto {
77 func req( )
88}
99
10- public struct ConformsToProtoMissingRequirement : Proto {
11- // expected-error@-1 {{type 'ConformsToProtoMissingRequirement ' does not conform to protocol 'Proto'}}
10+ public struct ConformsToProto_MissingRequirement : Proto {
11+ // expected-error@-1 {{type 'ConformsToProto_MissingRequirement ' does not conform to protocol 'Proto'}}
1212}
1313
14- public struct ConformsToProtoNearMiss : Proto {
15- // expected-error@-1 {{type 'ConformsToProtoNearMiss ' does not conform to protocol 'Proto'}}
14+ public struct ConformsToProto_NearMiss : Proto {
15+ // expected-error@-1 {{type 'ConformsToProto_NearMiss ' does not conform to protocol 'Proto'}}
1616
1717 public func req( x: Int ) { }
1818}
@@ -21,8 +21,8 @@ public protocol ProtoWithAssociatedType {
2121 associatedtype A
2222}
2323
24- public struct ConformsToProtoProtoWithAssociatedType : ProtoWithAssociatedType {
25- // expected-error@-1 {{type 'ConformsToProtoProtoWithAssociatedType ' does not conform to protocol 'ProtoWithAssociatedType'}}
24+ public struct ConformsToProtoWithAssociatedType_MissingTypeRequirement : ProtoWithAssociatedType {
25+ // expected-error@-1 {{type 'ConformsToProtoWithAssociatedType_MissingTypeRequirement ' does not conform to protocol 'ProtoWithAssociatedType'}}
2626}
2727
2828public struct GenericStruct < T> {
You can’t perform that action at this time.
0 commit comments