Sema: Move tuple conformance diagnostic to TypeCheckDeclPrimary.cpp

This commit is contained in:
Slava Pestov
2023-08-09 10:47:24 -04:00
parent 1b8e9a2964
commit 59bdf6630c
4 changed files with 10 additions and 13 deletions

View File

@@ -228,13 +228,6 @@ ERROR(macro_experimental,none,
ERROR(ambiguous_macro_reference,none,
"ambiguous reference to macro %0", (DeclName))
//------------------------------------------------------------------------------
// MARK: tuple conformances
//------------------------------------------------------------------------------
ERROR(experimental_tuple_extension,none,
"tuple extensions are experimental",
())
//------------------------------------------------------------------------------
// MARK: bridged diagnostics
//------------------------------------------------------------------------------

View File

@@ -2335,6 +2335,9 @@ NOTE(composition_in_extended_type_alternative,none,
ERROR(extension_access_with_conformances,none,
"%0 modifier cannot be used with extensions that declare "
"protocol conformances", (DeclAttribute))
ERROR(experimental_tuple_extension,none,
"tuple extensions are experimental",
())
ERROR(extension_metatype,none,
"cannot extend a metatype %0", (Type))
ERROR(extension_placeholder,none,