Merge pull request #81703 from DougGregor/more-migratable-features

Make `InferIsolatedConformances` and `StrictMemorySafety` migratable features
This commit is contained in:
Doug Gregor
2025-05-22 16:48:30 +01:00
committed by GitHub
19 changed files with 219 additions and 15 deletions

View File

@@ -8617,6 +8617,9 @@ GROUPED_ERROR(isolated_conformance_with_sendable_simple,IsolatedConformances,
GROUPED_ERROR(isolated_conformance_wrong_domain,IsolatedConformances,none,
"%0 conformance of %1 to %2 cannot be used in %3 context",
(ActorIsolation, Type, DeclName, ActorIsolation))
GROUPED_WARNING(isolated_conformance_will_become_nonisolated,IsolatedConformances,none,
"conformance of %0 to %1 should be marked 'nonisolated' to retain its behavior with upcoming feature 'InferIsolatedConformances'",
(const ValueDecl *, const ValueDecl *))
//===----------------------------------------------------------------------===//
// MARK: @_inheritActorContext