about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2024-06-23 22:16:22 +0200
committerThe 8472 <git@infinite-source.de>2024-06-25 23:19:58 +0200
commit133e7b10a45bddd4ef5ba265d848ce0a1976e8ae (patch)
tree43dc1159b870ac66a5ac0d9a0122c6f3cb799648 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parentc290e9de32e8ba6a673ef125fde40eadd395d170 (diff)
downloadrust-133e7b10a45bddd4ef5ba265d848ce0a1976e8ae.tar.gz
rust-133e7b10a45bddd4ef5ba265d848ce0a1976e8ae.zip
fix Drop items getting leaked in Filter::next_chunk
The optimization only makes sense for non-drop elements anyway.
Use the default implementation for items that are Drop instead.

It also simplifies the implementation.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions