diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-06-14 12:23:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-14 12:23:37 +0200 |
| commit | b55cabe636d8cde27cff9d65e63ab320d9364dc3 (patch) | |
| tree | dbf862ecf471bcbc8d021f290ca300460fd43b96 /compiler/rustc_mir_transform/src/coverage/mappings.rs | |
| parent | e923048768f5a9dca19e2106e23c65b29c3965a8 (diff) | |
| parent | 27ecb71635f0a168d8827fb4efc33b122c291e9c (diff) | |
| download | rust-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
