about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mappings.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-14 12:23:37 +0200
committerGitHub <noreply@github.com>2024-06-14 12:23:37 +0200
commitb55cabe636d8cde27cff9d65e63ab320d9364dc3 (patch)
treedbf862ecf471bcbc8d021f290ca300460fd43b96 /compiler/rustc_mir_transform/src/coverage/mappings.rs
parente923048768f5a9dca19e2106e23c65b29c3965a8 (diff)
parent27ecb71635f0a168d8827fb4efc33b122c291e9c (diff)
downloadrust-b55cabe636d8cde27cff9d65e63ab320d9364dc3.tar.gz
rust-b55cabe636d8cde27cff9d65e63ab320d9364dc3.zip
Rollup merge of #126285 - kpreid:unique-rc, r=dtolnay
`UniqueRc`: support allocators and `T: ?Sized`.

Added the following (all unstable):

* Defaulted type pararameter `A: Allocator`.
* `UniqueRc::new_in()`.
* `T:  ?Sized` where possible.
* `impl CoerceUnsized for UniqueRc`.

These changes are motivated by supporting the implementation of unsized `Rc::make_mut()` (PR #116113), but are also intended to be obvious generalizations of `UniqueRc` to support the things `Rc` does.

r? ``````@the8472``````
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mappings.rs')
0 files changed, 0 insertions, 0 deletions