about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/errors.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-04-11 01:56:25 +0200
committerGitHub <noreply@github.com>2024-04-11 01:56:25 +0200
commitd7d5be0c4053c5aec7dcbf026f9290e6e35d6e5f (patch)
tree27002a017597a6808d67b1f247f2267b37101b61 /compiler/rustc_mir_transform/src/errors.rs
parent084d27b120f1e2832afde4770335aa076bbf77a5 (diff)
parent0ef49fe35d14bacaab14658cd8a601dae5d5f415 (diff)
downloadrust-d7d5be0c4053c5aec7dcbf026f9290e6e35d6e5f.tar.gz
rust-d7d5be0c4053c5aec7dcbf026f9290e6e35d6e5f.zip
Rollup merge of #123661 - tgross35:stabilize-cstr_count_bytes, r=dtolnay
Stabilize `cstr_count_bytes`

Newly stable API:

```rust
impl CStr {
    pub fn count_bytes(&self) -> usize;
}
```

Const stabilization has not yet been decided, so that will continue to be gated under <https://github.com/rust-lang/rust/issues/113219>.

FCP finished at https://github.com/rust-lang/rust/issues/114441#issuecomment-2016942573.

Fixes: <https://github.com/rust-lang/rust/issues/114441>
Diffstat (limited to 'compiler/rustc_mir_transform/src/errors.rs')
0 files changed, 0 insertions, 0 deletions