You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noncopyable types cannot be substituted for an unconstrained generic
parameter, as it will have a Copyable conformance on it.
This test should be refactored to use a concrete function like
`transferMoveOnlyStruct` instead of the generic. But its not obvious to
me the best way to update this test.
// expected-warning @-1 {{transferring value of non-Sendable type 'NonSendableMoveOnlyStruct' from nonisolated context to global actor '<null>'-isolated context; later accesses could race}}
// x-warning @-1 {{transferring value of non-Sendable type 'NonSendableMoveOnlyStruct' from nonisolated context to global actor '<null>'-isolated context; later accesses could race}}
0 commit comments