*Migrated from https://fxbug.dev/80922* In `new_boxed_slice`, use [`Vec::into_raw_parts`](https://doc.rust-lang.org/beta/std/vec/struct.Vec.html#method.into_raw_parts) once it's [stable](https://github.com/rust-lang/rust/issues/65816).