mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Move tuple conformance diagnostic to TypeCheckDeclPrimary.cpp
This commit is contained in:
@@ -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
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user