You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func foo()->BufferView{ // expected-error{{cannot infer lifetime dependence , no parameters found that are either ~Escapable or Escapable with a borrowing ownership}}
27
+
func foo1()->BufferView{ // expected-error{{cannot infer lifetime dependence, no parameters found that are either ~Escapable or Escapable with a borrowing ownership}}
28
+
returnBufferView(nil,0)
29
+
}
30
+
31
+
func foo2(_ i:borrowingInt)->BufferView{ // expected-error{{cannot infer lifetime dependence, no parameters found that are either ~Escapable or Escapable with a borrowing ownership}}
32
+
returnBufferView(nil,0)
33
+
}
34
+
35
+
func foo3<T:_BitwiseCopyable>(arg:borrowingT)->BufferView{ // expected-error{{cannot infer lifetime dependence, no parameters found that are either ~Escapable or Escapable with a borrowing ownership}}
0 commit comments