Skip to content

[6.2] Fix diagnostic messages for some cases of invalid lifetime depenndencies #81916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Jun 2, 2025

Explanation: This PR fixes some diagnostic messages involving lifetime dependencies that were misleading and suggested an invalid alternative.

Scope: Limited to LifetimeDependence experimental feature

Resolves: rdar://151810577

Main PR: #81893

Risk: None. Rephrasing diagnostic messages

Testing: Added compiler tests

Reviewer: @atrick

…ndencies

The diagnostic messages were misleading and suggested an invalid alternative.

rdar://151810577
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta requested a review from tbkka June 2, 2025 23:12
@meg-gupta meg-gupta marked this pull request as ready for review June 2, 2025 23:12
@meg-gupta meg-gupta requested a review from a team as a code owner June 2, 2025 23:12
@meg-gupta meg-gupta merged commit 3688f5f into swiftlang:release/6.2 Jun 3, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants