@@ -3194,8 +3194,6 @@ ERROR(recursive_superclass_constraint,none,
31943194 " superclass constraint %0 : %1 is recursive" , (Type, Type))
31953195ERROR(requires_same_concrete_type,none,
31963196 " generic signature requires types %0 and %1 to be the same" , (Type, Type))
3197- WARNING(redundant_conformance_constraint,none,
3198- " redundant conformance constraint %0 : %1" , (Type, Type))
31993197
32003198WARNING(missing_protocol_refinement, none,
32013199 " protocol %0 should be declared to refine %1 due to a same-type constraint on 'Self'" ,
@@ -3204,17 +3202,9 @@ WARNING(missing_protocol_refinement, none,
32043202ERROR(requirement_conflict,none,
32053203 " no type for %0 can satisfy both %1" ,
32063204 (Type, StringRef))
3207- WARNING(redundant_same_type_to_concrete,none,
3208- " redundant same-type constraint %0 == %1" , (Type, Type))
32093205ERROR(conflicting_superclass_constraints,none,
32103206 " type %0 cannot be a subclass of both %1 and %2" ,
32113207 (Type, Type, Type))
3212- WARNING(redundant_superclass_constraint,none,
3213- " redundant superclass constraint %0 : %1" , (Type, Type))
3214-
3215- WARNING(redundant_layout_constraint,none,
3216- " redundant constraint %0 : %1" ,
3217- (Type, LayoutConstraint))
32183208
32193209WARNING(redundant_same_type_constraint,none,
32203210 " redundant same-type constraint %0 == %1" , (Type, Type))
@@ -7578,8 +7568,6 @@ ERROR(inverse_but_also_conforms, none,
75787568ERROR(inverse_generic_but_also_conforms, none,
75797569 " %0 required to be '%1' but is marked with '~%1'" ,
75807570 (Type, StringRef))
7581- WARNING(redundant_inverse_constraint,none,
7582- " redundant constraint %0 : '~%1'" , (Type, StringRef))
75837571ERROR(inverse_on_class, none,
75847572 " classes cannot be '~%0'" ,
75857573 (StringRef))
0 commit comments