mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Implicit initializers internally have "Default" parameter ownership specifiers, which can only happen for a noncopyable type if the decl is synthesized, since ownership is required to be specified if it were written in the source. There's no reason to warn for such decls, since the user can't see it anyway. So specifically target an explicitly written "borrowing" as being confusing, since that's the only valid case that could happen anyway. resolves rdar://131546153
386 KiB
386 KiB