diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2023-07-30 17:50:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-30 17:50:46 -0700 |
| commit | e5a6e5c90dc1f025e5cf34af6c3a9f474f3b9e35 (patch) | |
| tree | 1ea5ae3b5a550beaa7a3912a250e52ce41ac138d /compiler/rustc_mir_transform/src/coverage/counters.rs | |
| parent | d4145eeef476abee0faebf6649dc02c6a6440e1e (diff) | |
| parent | ee29d2fd0a0b53f3460a9ffe67db6473e5913385 (diff) | |
| download | rust-e5a6e5c90dc1f025e5cf34af6c3a9f474f3b9e35.tar.gz rust-e5a6e5c90dc1f025e5cf34af6c3a9f474f3b9e35.zip | |
Rollup merge of #95965 - CAD97:const-weak-new, r=workingjubilee
Stabilize const-weak-new
This is a fairly uncontroversial library stabilization, so I'm going ahead and proposing it to ride the trains to stable.
This stabilizes the following APIs, which are defined to be non-allocating constructors.
```rust
// alloc::rc
impl<T> Weak<T> {
pub const fn new() -> Weak<T>;
}
// alloc::sync
impl<T> Weak<T> {
pub const fn new() -> Weak<T>;
}
```
Closes #95091
``@rustbot`` modify labels: +needs-fcp
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions
