@@ -2395,11 +2395,10 @@ ERROR(requires_generic_param_same_type_does_not_conform,none,
2395
2395
ERROR(requires_same_concrete_type,none,
2396
2396
" generic signature requires types %0 and %1 to be the same" , (Type, Type))
2397
2397
WARNING(redundant_conformance_constraint,none,
2398
- " redundant conformance constraint %0: %1" , (Type, ProtocolDecl *))
2398
+ " redundant conformance constraint %0 : %1" , (Type, ProtocolDecl *))
2399
2399
NOTE(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 *))
2403
2402
2404
2403
ERROR(unsupported_recursive_requirements, none,
2405
2404
" requirement involves recursion that is not currently supported" , ())
@@ -2425,15 +2424,17 @@ NOTE(superclass_redundancy_here,none,
2425
2424
(unsigned , Type, Type))
2426
2425
2427
2426
ERROR(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))
2431
2432
WARNING(redundant_layout_constraint,none,
2432
- " redundant constraint %0 : %1" , (Type, LayoutConstraint))
2433
+ " redundant constraint %0 : %1" ,
2434
+ (Type, LayoutConstraint))
2433
2435
NOTE(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))
2437
2438
2438
2439
WARNING(redundant_same_type_constraint,none,
2439
2440
" redundant same-type constraint %0 == %1" , (Type, Type))
0 commit comments