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 zoop(x:(borrowingconsuming,consumingborrowing)->()){} // expected-error 2{{Copyable types cannot be 'consuming' or 'borrowing' yet}}
25
25
26
-
func worster(x:borrowingborrowingborrowing){} // expected-error{{at most one}}
27
-
func worstest(x:(borrowingborrowingborrowing)->()){} // expected-error{{at most one}}
26
+
func worster(x:borrowingborrowingborrowing){} // expected-error{{at most one}} // expected-error{{Copyable types cannot be 'consuming' or 'borrowing' yet}}
27
+
func worstest(x:(borrowingborrowingborrowing)->()){} // expected-error{{at most one}} // expected-error{{Copyable types cannot be 'consuming' or 'borrowing' yet}}
28
28
29
29
// Parameter specifier names are regular identifiers in other positions,
0 commit comments