about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2023-07-30 17:50:46 -0700
committerGitHub <noreply@github.com>2023-07-30 17:50:46 -0700
commite5a6e5c90dc1f025e5cf34af6c3a9f474f3b9e35 (patch)
tree1ea5ae3b5a550beaa7a3912a250e52ce41ac138d /compiler/rustc_mir_transform/src/coverage/counters.rs
parentd4145eeef476abee0faebf6649dc02c6a6440e1e (diff)
parentee29d2fd0a0b53f3460a9ffe67db6473e5913385 (diff)
downloadrust-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