about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-18 05:12:40 +0000
committerbors <bors@rust-lang.org>2022-06-18 05:12:40 +0000
commitff86b27e7be1ffff9e00d80beb15560d5f301459 (patch)
tree177b022f938730423dd0364795e57b9756024123 /compiler/rustc_mir_transform/src/coverage/spans.rs
parent529c4c71793fbf4305d65b1c4d826a5d0e748fb3 (diff)
parent3a1e114120d3570b2b1b4dd4b0b1d31ce0382861 (diff)
downloadrust-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