@@ -27,6 +27,7 @@ public struct RawSpan: ~Escapable, Copyable, BitwiseCopyable {
27
27
28
28
@_disallowFeatureSuppression ( NonescapableTypes)
29
29
@_alwaysEmitIntoClient
30
+ //FIXME: should be @lifetime(borrow pointer) rdar://138672380
30
31
@lifetime ( immortal)
31
32
internal init (
32
33
_unchecked pointer: borrowing UnsafeRawPointer ? ,
@@ -56,6 +57,7 @@ extension RawSpan {
56
57
/// the newly created `RawSpan`.
57
58
@_disallowFeatureSuppression ( NonescapableTypes)
58
59
@_alwaysEmitIntoClient
60
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
59
61
@lifetime ( immortal)
60
62
public init (
61
63
_unsafeBytes buffer: borrowing UnsafeRawBufferPointer
@@ -67,6 +69,7 @@ extension RawSpan {
67
69
68
70
@_disallowFeatureSuppression ( NonescapableTypes)
69
71
@_alwaysEmitIntoClient
72
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
70
73
@lifetime ( immortal)
71
74
public init (
72
75
_unsafeBytes buffer: borrowing Slice < UnsafeRawBufferPointer >
@@ -85,6 +88,7 @@ extension RawSpan {
85
88
/// the newly created `RawSpan`.
86
89
@_disallowFeatureSuppression ( NonescapableTypes)
87
90
@_alwaysEmitIntoClient
91
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
88
92
@lifetime ( immortal)
89
93
public init (
90
94
_unsafeBytes buffer: borrowing UnsafeMutableRawBufferPointer
@@ -94,6 +98,7 @@ extension RawSpan {
94
98
95
99
@_disallowFeatureSuppression ( NonescapableTypes)
96
100
@_alwaysEmitIntoClient
101
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
97
102
@lifetime ( immortal)
98
103
public init (
99
104
_unsafeBytes buffer: borrowing Slice < UnsafeMutableRawBufferPointer >
@@ -114,6 +119,7 @@ extension RawSpan {
114
119
/// the newly created `RawSpan`.
115
120
@_disallowFeatureSuppression ( NonescapableTypes)
116
121
@_alwaysEmitIntoClient
122
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
117
123
@lifetime ( immortal)
118
124
public init (
119
125
_unsafeStart pointer: borrowing UnsafeRawPointer ,
@@ -134,6 +140,7 @@ extension RawSpan {
134
140
/// the newly created `RawSpan`.
135
141
@_disallowFeatureSuppression ( NonescapableTypes)
136
142
@_alwaysEmitIntoClient
143
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
137
144
@lifetime ( immortal)
138
145
public init < T: BitwiseCopyable > (
139
146
_unsafeElements buffer: borrowing UnsafeBufferPointer < T >
@@ -150,6 +157,7 @@ extension RawSpan {
150
157
/// - buffer: a raw buffer to initialized memory.
151
158
@_disallowFeatureSuppression ( NonescapableTypes)
152
159
@_alwaysEmitIntoClient
160
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
153
161
@lifetime ( immortal)
154
162
public init < T: BitwiseCopyable > (
155
163
_unsafeElements buffer: borrowing Slice < UnsafeBufferPointer < T > >
@@ -170,6 +178,7 @@ extension RawSpan {
170
178
/// the newly created `RawSpan`.
171
179
@_disallowFeatureSuppression ( NonescapableTypes)
172
180
@_alwaysEmitIntoClient
181
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
173
182
@lifetime ( immortal)
174
183
public init < T: BitwiseCopyable > (
175
184
_unsafeElements buffer: borrowing UnsafeMutableBufferPointer < T >
@@ -186,6 +195,7 @@ extension RawSpan {
186
195
/// - buffer: a raw buffer to initialized memory.
187
196
@_disallowFeatureSuppression ( NonescapableTypes)
188
197
@_alwaysEmitIntoClient
198
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
189
199
@lifetime ( immortal)
190
200
public init < T: BitwiseCopyable > (
191
201
_unsafeElements buffer: borrowing Slice < UnsafeMutableBufferPointer < T > >
@@ -208,6 +218,7 @@ extension RawSpan {
208
218
/// the newly created `RawSpan`.
209
219
@_disallowFeatureSuppression ( NonescapableTypes)
210
220
@_alwaysEmitIntoClient
221
+ //FIXME: should be @lifetime(borrow <argname>) rdar://138672380
211
222
@lifetime ( immortal)
212
223
public init < T: BitwiseCopyable > (
213
224
_unsafeStart pointer: borrowing UnsafePointer < T > ,
0 commit comments