mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When matching against a noncopyable value, whether the match operation can borrow the value in-place or needs to take ownership of it is significant. This can generally be determined from the kind of pattern being used, except in the case of expr patterns, where it depends on type-checking the `~=` operator that was used.
79 KiB
79 KiB