@@ -3851,7 +3851,7 @@ ERROR(decl_from_hidden_module,none,
38513851 " C++ types from imported module %2 do not support library evolution|"
38523852 " it was imported via the internal bridging header|"
38533853 " %2 was not imported publicly|"
3854- " it is a struct marked '@_implementationOnly'}3" ,
3854+ " %0 is marked '@_implementationOnly'}3" ,
38553855 (const Decl *, unsigned , Identifier, unsigned ))
38563856ERROR(typealias_desugars_to_type_from_hidden_module,none,
38573857 " %0 aliases '%1.%2' and cannot be used %select{here|"
@@ -3870,7 +3870,7 @@ ERROR(typealias_desugars_to_type_from_hidden_module,none,
38703870 " C++ types from imported module %4 do not support library evolution|"
38713871 " it was imported via the internal bridging header|"
38723872 " %4 was not imported publicly|"
3873- " it is a struct marked '@_implementationOnly'}5" ,
3873+ " %0 is marked '@_implementationOnly'}5" ,
38743874 (const TypeAliasDecl *, StringRef, StringRef, unsigned , Identifier, unsigned ))
38753875ERROR(conformance_from_implementation_only_module,none,
38763876 " cannot use conformance of %0 to %1 %select{here|as property wrapper here|"
@@ -3887,7 +3887,7 @@ ERROR(conformance_from_implementation_only_module,none,
38873887 " C++ types from imported module %3 do not support library evolution|"
38883888 " it was imported via the internal bridging header|"
38893889 " %3 was not imported publicly|"
3890- " it is a struct marked '@_implementationOnly'}4" ,
3890+ " %0 is marked '@_implementationOnly'}4" ,
38913891 (Type, Identifier, unsigned , Identifier, unsigned ))
38923892NOTE(assoc_conformance_from_implementation_only_module,none,
38933893 " in associated type %0 (inferred as %1)" , (Type, Type))
@@ -3952,8 +3952,8 @@ ERROR(implementation_only_override_import_without_attr,none,
39523952 " override of %kindonly0 imported as implementation-only must be declared "
39533953 " '@_implementationOnly'" ,
39543954 (const ValueDecl *))
3955- ERROR(implementation_only_on_structs_feature ,none,
3956- " '@_implementationOnly' on structs requires "
3955+ ERROR(implementation_only_on_types_feature ,none,
3956+ " '@_implementationOnly' on a type requires "
39573957 " '-enable-experimental-feature CheckImplementationOnly'" , ())
39583958
39593959ERROR(import_attr_conflict,none,
@@ -7360,7 +7360,7 @@ ERROR(inlinable_decl_ref_from_hidden_module,
73607360 " C++ APIs from imported module %2 do not support library evolution|"
73617361 " it was imported via the internal bridging header|"
73627362 " %2 was not imported publicly|"
7363- " it is a struct marked '@_implementationOnly'}3" ,
7363+ " %0 is marked '@_implementationOnly'}3" ,
73647364 (const ValueDecl *, unsigned , Identifier, unsigned ))
73657365
73667366ERROR(inlinable_typealias_desugars_to_type_from_hidden_module,
@@ -7373,7 +7373,7 @@ ERROR(inlinable_typealias_desugars_to_type_from_hidden_module,
73737373 " C++ types from imported module %4 do not support library evolution|"
73747374 " it was imported via the internal bridging header|"
73757375 " %4 was not imported publicly|"
7376- " it is a struct marked '@_implementationOnly'}5" ,
7376+ " %0 is marked '@_implementationOnly'}5" ,
73777377 (const TypeAliasDecl *, StringRef, StringRef, unsigned , Identifier, unsigned ))
73787378
73797379NOTE(missing_import_inserted,
0 commit comments