Skip to content

add compile-fail tests for and_modify and OccupiedEntry::for_each RefMut stashing#262

Merged
sunshowers merged 1 commit into
mainfrom
sunshowers/spr/add-compile-fail-tests-for-and_modify-and-occupiedentryfor_each-refmut-stashing
May 23, 2026
Merged

add compile-fail tests for and_modify and OccupiedEntry::for_each RefMut stashing#262
sunshowers merged 1 commit into
mainfrom
sunshowers/spr/add-compile-fail-tests-for-and_modify-and-occupiedentryfor_each-refmut-stashing

Conversation

@sunshowers
Copy link
Copy Markdown
Collaborator

Ensure that the refs can't outlive the callback.

Created using spr 1.3.6-beta.1
@sunshowers sunshowers merged commit 77a9d86 into main May 23, 2026
34 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/add-compile-fail-tests-for-and_modify-and-occupiedentryfor_each-refmut-stashing branch May 23, 2026 03:02
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