diff options
| author | bors <bors@rust-lang.org> | 2022-06-18 05:12:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-06-18 05:12:40 +0000 |
| commit | ff86b27e7be1ffff9e00d80beb15560d5f301459 (patch) | |
| tree | 177b022f938730423dd0364795e57b9756024123 /compiler/rustc_mir_transform/src/coverage/spans.rs | |
| parent | 529c4c71793fbf4305d65b1c4d826a5d0e748fb3 (diff) | |
| parent | 3a1e114120d3570b2b1b4dd4b0b1d31ce0382861 (diff) | |
| download | rust-ff86b27e7be1ffff9e00d80beb15560d5f301459.tar.gz rust-ff86b27e7be1ffff9e00d80beb15560d5f301459.zip | |
Auto merge of #98178 - RalfJung:btree-alloc, r=thomcc
btree: avoid forcing the allocator to be a reference The previous code forces the actual allocator used to be some `&A`. This generalizes the code to allow any `A: Copy`. If people truly want to use a reference, they can use `&A` themselves. Fixes https://github.com/rust-lang/rust/issues/98176
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/spans.rs')
0 files changed, 0 insertions, 0 deletions
