@@ -2395,11 +2395,10 @@ ERROR(requires_generic_param_same_type_does_not_conform,none,
23952395ERROR(requires_same_concrete_type,none,
23962396 " generic signature requires types %0 and %1 to be the same" , (Type, Type))
23972397WARNING(redundant_conformance_constraint,none,
2398- " redundant conformance constraint %0: %1" , (Type, ProtocolDecl *))
2398+ " redundant conformance constraint %0 : %1" , (Type, ProtocolDecl *))
23992399NOTE(redundant_conformance_here,none,
2400- " conformance constraint %1: %2 %select{written here|implied here|"
2401- " inferred from type here}0" ,
2402- (unsigned , Type, ProtocolDecl *))
2400+ " conformance constraint %0 : %1 implied here" ,
2401+ (Type, ProtocolDecl *))
24032402
24042403ERROR(unsupported_recursive_requirements, none,
24052404 " requirement involves recursion that is not currently supported" , ())
@@ -2425,15 +2424,17 @@ NOTE(superclass_redundancy_here,none,
24252424 (unsigned , Type, Type))
24262425
24272426ERROR(conflicting_layout_constraints,none,
2428- " %select{generic parameter |protocol |}0%1 has conflicting "
2429- " constraints %2 and %3" ,
2430- (unsigned , Type, LayoutConstraint, LayoutConstraint))
2427+ " type %0 has conflicting constraints %1 and %2" ,
2428+ (Type, LayoutConstraint, LayoutConstraint))
2429+ NOTE(conflicting_layout_constraint, none,
2430+ " constraint conflicts with %0 : %1" ,
2431+ (Type, LayoutConstraint))
24312432WARNING(redundant_layout_constraint,none,
2432- " redundant constraint %0 : %1" , (Type, LayoutConstraint))
2433+ " redundant constraint %0 : %1" ,
2434+ (Type, LayoutConstraint))
24332435NOTE(previous_layout_constraint, none,
2434- " constraint %1 : %2 %select{written here|implied here|"
2435- " inferred from type here}0" ,
2436- (unsigned , Type, LayoutConstraint))
2436+ " constraint %0 : %1 implied here" ,
2437+ (Type, LayoutConstraint))
24372438
24382439WARNING(redundant_same_type_constraint,none,
24392440 " redundant same-type constraint %0 == %1" , (Type, Type))
0 commit comments