Merge remote-tracking branch 'origin/main' into rebranch

This commit is contained in:
swift-ci
2025-05-25 06:53:22 -07:00
30 changed files with 476 additions and 31 deletions

View File

@@ -4387,6 +4387,9 @@ NOTE(derivative_attr_fix_access,none,
"mark the derivative function as "
"'%select{private|fileprivate|internal|package|@usableFromInline|@usableFromInline}0' "
"to match the original function", (AccessLevel))
ERROR(derivative_attr_always_emit_into_client_mismatch,none,
"either both or none of derivative and original function must have "
"@alwaysEmitIntoClient attribute", ())
ERROR(derivative_attr_static_method_mismatch_original,none,
"unexpected derivative function declaration; "
"%0 requires the derivative function %1 to be %select{an instance|a 'static'}2 method",