We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db92d2b commit 9d86a45Copy full SHA for 9d86a45
stdlib/public/core/CompilerProtocols.swift
@@ -266,9 +266,9 @@ public protocol CaseIterable {
266
/// `Optional` type conforms to `ExpressibleByNilLiteral`.
267
/// `ExpressibleByNilLiteral` conformance for types that use `nil` for other
268
/// purposes is discouraged.
269
-public protocol ExpressibleByNilLiteral: ~Copyable {
+public protocol ExpressibleByNilLiteral: ~Copyable, ~Escapable {
270
/// Creates an instance initialized with `nil`.
271
- init(nilLiteral: ())
+ init(nilLiteral: ()) -> dependsOn(immortal) Self
272
}
273
274
public protocol _ExpressibleByBuiltinIntegerLiteral {
0 commit comments