File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,8 @@ extension Optional: Sendable where Wrapped: ~Copyable & ~Escapable & Sendable {}
147
147
148
148
149
149
@_preInverseGenerics
150
- extension Optional : ExpressibleByNilLiteral where Wrapped: ~ Copyable & ~ Escapable {
150
+ extension Optional : ExpressibleByNilLiteral
151
+ where Wrapped: ~ Copyable & ~ Escapable {
151
152
/// Creates an instance initialized with `nil`.
152
153
///
153
154
/// Do not call this initializer directly. It is used by the compiler when you
@@ -165,10 +166,11 @@ extension Optional: ExpressibleByNilLiteral where Wrapped: ~Copyable & ~Escapabl
165
166
}
166
167
}
167
168
168
- extension Optional where Wrapped: ~ Copyable & Escapable {
169
+ extension Optional where Wrapped: ~ Copyable & ~ Escapable {
169
170
/// Creates an instance that stores the given value.
170
171
@_transparent
171
172
@_preInverseGenerics
173
+ @lifetime ( some)
172
174
public init( _ some: consuming Wrapped ) { self = . some( some) }
173
175
}
174
176
You can’t perform that action at this time.
0 commit comments