See https://github.com/rust-lang/rfcs/pull/1325. `no_panic::NoPanicSlice::subslice`, and maybe other things, should be rewritten when the new Rust functionality is available.