No successful run was found on 08-12-fix_allocator_remove_clone_impl_from_vec_ (9ac418d) during the generation of this report, so 98eac10 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
fix(allocator): remove `Vec::bump` method (#13039)
`Vec::bump` method is unsound.
* `Vec` is `Sync`, which means that you can have 2 `&Vec` references on different threads.
* `Vec::bump` allows converting a `&Vec` into a `&Bump`, which means you can obtain 2 `&Bump`s on different threads.
* `Bump` uses interior mutability, so you only need a `&Bump` (not `&mut Bump`) to allocate into that arena.
* `Bump` is not thread-safe (hence it's not `Sync`) and allocating into the arena from 2 different threads simultaneously is UB.
We don't use this method anyway, and I can't see any prospect of us doing so in future, so remove it. This will enable us to keep `Vec` being `Sync` without unsoundness.