about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2023-09-24 10:57:54 -0700
committerKevin Reid <kpreid@switchb.org>2024-06-22 08:08:00 -0700
commit88c3db57e4c3cda4e446999202171d9a459069a9 (patch)
tree9c0ece41ecf4386e0207bceb6c68981e17186987 /compiler/rustc_interface/src/errors.rs
parenta9a4830d257cd1563687448b31638b20ebbfba46 (diff)
downloadrust-88c3db57e4c3cda4e446999202171d9a459069a9.tar.gz
rust-88c3db57e4c3cda4e446999202171d9a459069a9.zip
Generalize `{Rc,Arc}::make_mut()` to unsized types.
This requires introducing a new internal type `RcUninit` (and
`ArcUninit`), which can own an `RcBox<T>` without requiring it to be
initialized, sized, or a slice. This is similar to `UniqueRc`, but
`UniqueRc` doesn't support the allocator parameter, and there is no
`UniqueArc`.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions