diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-03-04 20:01:06 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-04 20:01:06 +0900 |
| commit | 290117f7d99157e928c82d0e84effb0e9fdc409d (patch) | |
| tree | 0ab49014485cb2a1511b42ac12d0671abd942318 /compiler/rustc_mir/src/transform/coverage/graph.rs | |
| parent | 569f0330d8e88aca3fabdfcb9b2dded9177002ce (diff) | |
| parent | 950f12119ef724156a9a4e17e1b375eb28c6af11 (diff) | |
| download | rust-290117f7d99157e928c82d0e84effb0e9fdc409d.tar.gz rust-290117f7d99157e928c82d0e84effb0e9fdc409d.zip | |
Rollup merge of #82564 - WaffleLapkin:revert_spare_mut, r=RalfJung
Revert `Vec::spare_capacity_mut` impl to prevent pointers invalidation The implementation was changed in #79015. Later it was [pointed out](https://github.com/rust-lang/rust/issues/81944#issuecomment-782849785) that the implementation invalidates pointers to the buffer (initialized elements) by creating a unique reference to the buffer. This PR reverts the implementation. r? ```@RalfJung```
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
