Skip to content

Fix stacked borrows violation in retain panic path - #326

Open
niklasf wants to merge 1 commit into
bluss:masterfrom
niklasf:retain-panic-stacked-borrows
Open

niklasf wants to merge 1 commit into
bluss:masterfrom
niklasf:retain-panic-stacked-borrows

Conversation

@niklasf

@niklasf niklasf commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Went unnoticed when porting from std::vec::Vec, where the similar borrows only apply to individual elements.

Test fails under miri without the fix.

This branch has not been deployed

No deployments
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