Commit Graph

3 Commits

Author SHA1 Message Date
Kavon Farvardin
e71594725a be specific that only escaping closures prevent consumption
rdar://109908383
2023-06-12 17:15:46 -07:00
Michael Gottesman
0d36738206 Enable sil-verify-all on noimplicitcopy_consuming_parameters and noimplicitcopy_borrowing_parameters.swift.
I found on 5.9 that this caught a small issue in MoveOnlyWrappedTypeLowering. I
am going to fix that issue in the next commit.
2023-06-06 23:50:02 -04:00
Michael Gottesman
59c8cff917 [borrowing] Add support for borrowing/consuming copyable types to be a noimplicitcopy type.
rdar://108383660
2023-06-06 18:12:29 -04:00