Files
rust/compiler/rustc_arena
Nicholas Nethercote c6f92dcae0 Add missing needs_drop check to DroplessArena.
Three of the four public allocation functions in `DroplessArena` check
that the allocated type doesn't implement `Drop`: `alloc`,
`alloc_slice`, `alloc_from_iter`. This commit adds the missing check to
`try_alloc_from_iter`.

It also moves and reorders some lines in `alloc_from_iter` for
consistency with the other methods.
2026-07-01 10:19:48 +10:00
..