Skip to content

MoveOnlyChecker: Don't follow trivial transitive uses of borrows. #80470

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
Apr 3, 2025

Conversation

jckarter
Copy link
Contributor

@jckarter jckarter commented Apr 2, 2025

Trivial values don't have ownership tracked, so their uses can't affect the lifetime of the original borrow. Fixes rdar://148457155.

Trivial values don't have ownership tracked, so their uses can't affect the
lifetime of the original borrow. Fixes rdar://148457155.
@jckarter jckarter requested a review from kavon as a code owner April 2, 2025 20:29
@jckarter
Copy link
Contributor Author

jckarter commented Apr 2, 2025

@swift-ci Please test

@jckarter jckarter merged commit 367ad78 into swiftlang:main Apr 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.

1 participant