A version bump would make this change possible: `Vec` panics on out-of-bounds indices: [`Vec::remove`](https://doc.rust-lang.org/1.16.0/std/vec/struct.Vec.html#method.remove).