Skip to content

[tests]: golden diagnostic for return-path overlapping mut borrow - #159

Merged
JamalLyons merged 1 commit into
trunkfrom
agent/v0-sprint/20260621-golden-return-path-mut-borrow
Jun 21, 2026
Merged

[tests]: golden diagnostic for return-path overlapping mut borrow#159
JamalLyons merged 1 commit into
trunkfrom
agent/v0-sprint/20260621-golden-return-path-mut-borrow

Conversation

@JamalLyons

Copy link
Copy Markdown
Member

Summary

  • Add CLI golden diagnostic for return-path overlapping &mut T borrow rejection.

Test plan

  • cargo test -p phx-integration-tests --test diagnostics
  • generate.py case list updated for future regen

Made with Cursor

Add CLI golden for overlapping &mut T borrows on function return paths and
register the case in phx-programs diagnostics embed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@JamalLyons
JamalLyons merged commit 362b836 into trunk Jun 21, 2026
1 check passed
@JamalLyons
JamalLyons deleted the agent/v0-sprint/20260621-golden-return-path-mut-borrow branch June 21, 2026 19:36
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