@@ -2533,6 +2533,11 @@ WARNING(associated_type_override_typealias,none,
25332533 " associated type %0 is redundant with type %0 declared in inherited "
25342534 " %1 %2" , (Identifier, DescriptiveDeclKind, Type))
25352535
2536+ ERROR(requirement_machine_completion_failed,none,
2537+ " cannot build rewrite system for %select{generic signature|protocol}0; "
2538+ " %select{step|depth}1 limit exceeded" ,
2539+ (unsigned , unsigned ))
2540+
25362541ERROR(associated_type_objc,none,
25372542 " associated type %0 cannot be declared inside '@objc' protocol %1" ,
25382543 (Identifier, Identifier))
@@ -3668,9 +3673,6 @@ ERROR(builtin_string_literal_broken_proto,none,
36683673ERROR(string_literal_broken_proto,none,
36693674 " protocol 'ExpressibleByStringLiteral' is broken" , ())
36703675
3671- ERROR(regex_decl_broken,none,
3672- " cannot find 'Regex' type in scope" , ())
3673-
36743676// Array literals
36753677ERROR(should_use_dictionary_literal,none,
36763678 " dictionary of type %0 cannot be %select{used|initialized}1 "
@@ -4618,6 +4620,19 @@ ERROR(unchecked_not_inheritance_clause,none,
46184620ERROR(unchecked_not_existential,none,
46194621 " 'unchecked' attribute cannot apply to non-protocol type %0" , (Type))
46204622
4623+ WARNING(unnecessary_any,none,
4624+ " 'any' is redundant on type %0" , (Type))
4625+ ERROR(any_not_existential,none,
4626+ " 'any' has no effect on %select{concrete type|type parameter}0 %1" ,
4627+ (bool , Type))
4628+ ERROR(existential_requires_any,none,
4629+ " protocol %0 as a type must be explicitly marked as 'any'" ,
4630+ (Identifier))
4631+ ERROR(explicit_existential_not_supported,none,
4632+ " explicit 'any' not supported; use frontend flag "
4633+ " -enable-explicit-existential-types to enable this feature" ,
4634+ ())
4635+
46214636ERROR(nonisolated_let,none,
46224637 " 'nonisolated' is meaningless on 'let' declarations because "
46234638 " they are immutable" ,
@@ -4722,6 +4737,14 @@ ERROR(async_unavailable_decl,none,
47224737 " %0 %1 is unavailable from asynchronous contexts%select{|; %3}2" ,
47234738 (DescriptiveDeclKind, DeclBaseName, bool , StringRef))
47244739
4740+ // ------------------------------------------------------------------------------
4741+ // MARK: String Processing
4742+ // ------------------------------------------------------------------------------
4743+
4744+ ERROR(string_processing_lib_missing,none,
4745+ " missing '%0' declaration, probably because the '_StringProcessing' "
4746+ " module was not imported properly" , (StringRef))
4747+
47254748// ------------------------------------------------------------------------------
47264749// MARK: Type Check Types
47274750// ------------------------------------------------------------------------------
0 commit comments