mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #85305 from DougGregor/custom-conformance-availability
[Custom availability] Fix conformance availability diagnostic
This commit is contained in:
@@ -7265,6 +7265,10 @@ ERROR(conformance_availability_only_version_newer, none,
|
||||
"conformance of %0 to %1 is only available in %2 %3 or newer",
|
||||
(Type, Type, AvailabilityDomain, AvailabilityRange))
|
||||
|
||||
ERROR(conformance_availability_not_available, none,
|
||||
"conformance of %0 to %1 is only available in %2",
|
||||
(Type, Type, AvailabilityDomain))
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// MARK: if #available(...)
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user