mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Saying "implicitly non-escaping because it was declared @autoclosure" does not make sense. Since Swift 3, parameters of function type are non-escaping by default, whether or not they are @autoclosure. We would also inhibit the fixit for inserting @escaping if the @autoclosure attribute was present. Again, a holdover from the Swift 2 days, when @autoclosure implied @noescape and the special @autoclosure(escaping) attribute was used to define an escaping autoclosure.