diff options
| author | Zachary S <zasample18+github@gmail.com> | 2024-05-10 14:00:20 -0500 |
|---|---|---|
| committer | Zachary S <zasample18+github@gmail.com> | 2024-05-10 14:11:23 -0500 |
| commit | d6122f1924c20797a96ab83b520cbaf585a9d4b1 (patch) | |
| tree | 61cd71b7a1e33d6c6b2b72c4566d7331ef08eea5 /compiler/rustc_trait_selection/src | |
| parent | 6a19a87097fbf430d0fe09e15d9266a990c1e0f6 (diff) | |
| download | rust-d6122f1924c20797a96ab83b520cbaf585a9d4b1.tar.gz rust-d6122f1924c20797a96ab83b520cbaf585a9d4b1.zip | |
Relax allocator requirements on some Rc APIs.
* Remove A: Clone bound from Rc::assume_init, Rc::downcast, and Rc::downcast_unchecked. * Make From<Rc<[T; N]>> for Rc<[T]> allocator-aware. Internal changes: * Made Arc::internal_into_inner_with_allocator method into Arc::into_inner_with_allocator associated fn. * Add private Rc::into_inner_with_allocator (to match Arc), so other fns don't have to juggle ManuallyDrop.
Diffstat (limited to 'compiler/rustc_trait_selection/src')
0 files changed, 0 insertions, 0 deletions
