mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Detect difference in escapiness while matching function types in the solver and record a fix that suggests to add @escaping attribute where appropriate. Also emit a tailored diagnostic when non-escaping parameter type is used as a type of a generic parameter.
1.7 KiB
1.7 KiB