about summary refs log tree commit diff
path: root/tests/codegen-llvm/enum/enum-aggregate.rs
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-17 14:56:42 +1000
committerGitHub <noreply@github.com>2025-09-17 14:56:42 +1000
commitfeeb68eb5e6a09053a499461b3e7ce471447ebf6 (patch)
treea1c45e8abe3d5f6a4097638e98b93b58ad3af803 /tests/codegen-llvm/enum/enum-aggregate.rs
parent9d93fab3a105024a504fa8797f3431a8c176bad7 (diff)
parentb5a4e5d73fb7fd47caa1b22ffe8527c13f895c21 (diff)
downloadrust-feeb68eb5e6a09053a499461b3e7ce471447ebf6.tar.gz
rust-feeb68eb5e6a09053a499461b3e7ce471447ebf6.zip
Rollup merge of #144871 - Kivooeo:btree_entry_insert-stabilize, r=jhpratt
Stabilize `btree_entry_insert` feature

This stabilises `btree_map::VacantEntry::insert_entry` and `btree_map::Entry::insert_entry`, following the FCP in [tracking issue](https://github.com/rust-lang/rust/issues/65225).

New stable API:

```rust
impl<'a, K: Ord, V, A: Allocator + Clone> Entry<'a, K, V, A> {
    pub fn insert_entry(self, value: V) -> OccupiedEntry<'a, K, V, A>;
}

impl<'a, K: Ord, V, A: Allocator + Clone> VacantEntry<'a, K, V, A> {
    pub fn insert_entry(mut self, value: V) -> OccupiedEntry<'a, K, V, A>;
}
```

(FCP ended almost a year ago, so if it's needed for process we could rerun it)

Closes: https://github.com/rust-lang/rust/issues/65225
Diffstat (limited to 'tests/codegen-llvm/enum/enum-aggregate.rs')
0 files changed, 0 insertions, 0 deletions