about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-06-11 15:16:47 -0700
committerKevin Reid <kpreid@switchb.org>2024-06-11 15:16:47 -0700
commit27ecb71635f0a168d8827fb4efc33b122c291e9c (patch)
tree463b5e01fe6ca0a81d80291011885fa53d43b5c4 /compiler/rustc_codegen_gcc/src/errors.rs
parent0c960618b56f662d933e8b864cd9632a99174e87 (diff)
downloadrust-27ecb71635f0a168d8827fb4efc33b122c291e9c.tar.gz
rust-27ecb71635f0a168d8827fb4efc33b122c291e9c.zip
`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`.
* Drive-by doc polish: links and periods at the end of sentences.

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.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions