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 a85caaf commit 58af3ceCopy full SHA for 58af3ce
stdlib/toolchain/CompatibilitySpan/FakeStdlib.swift
@@ -74,10 +74,11 @@ internal func _overrideLifetime<
74
}
75
76
extension Range {
77
- @_alwaysEmitIntoClient
78
- internal init(_uncheckedBounds bounds: (lower: Bound, upper: Bound)) {
79
- self.init(uncheckedBounds: bounds)
80
- }
+ @unsafe
+ @_alwaysEmitIntoClient
+ internal init(_uncheckedBounds bounds: (lower: Bound, upper: Bound)) {
+ self.init(uncheckedBounds: bounds)
81
+ }
82
83
84
extension Optional {
@@ -90,4 +91,4 @@ extension Optional {
90
91
_internalInvariantFailure("_unsafelyUnwrappedUnchecked of nil optional")
92
93
-}
94
+}
0 commit comments