File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,8 @@ public protocol CaseIterable {
268
268
/// purposes is discouraged.
269
269
public protocol ExpressibleByNilLiteral : ~ Copyable, ~ Escapable {
270
270
/// Creates an instance initialized with `nil`.
271
- init ( nilLiteral: ( ) ) -> dependsOn( immortal) Self
271
+ @lifetime ( immortal)
272
+ init ( nilLiteral: ( ) )
272
273
}
273
274
274
275
public protocol _ExpressibleByBuiltinIntegerLiteral {
Original file line number Diff line number Diff line change @@ -155,7 +155,8 @@ extension Optional: ExpressibleByNilLiteral where Wrapped: ~Copyable & ~Escapabl
155
155
/// initializer behind the scenes.
156
156
@_transparent
157
157
@_preInverseGenerics
158
- public init ( nilLiteral: ( ) ) -> dependsOn( immortal) Self {
158
+ @lifetime ( immortal)
159
+ public init ( nilLiteral: ( ) ) {
159
160
self = . none
160
161
}
161
162
}
You can’t perform that action at this time.
0 commit comments