diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2022-04-06 17:04:18 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2022-04-14 21:53:11 +0300 |
| commit | 7f3cc2fbbfbbc257a8763ae817a69452b9a7e31d (patch) | |
| tree | 4a07d582513528e76f45291d166f5da25f5f09dd /library/alloc/src/ffi/mod.rs | |
| parent | 5bee741a08a267f68ac6c3d24dadfe927bd45008 (diff) | |
| download | rust-7f3cc2fbbfbbc257a8763ae817a69452b9a7e31d.tar.gz rust-7f3cc2fbbfbbc257a8763ae817a69452b9a7e31d.zip | |
library: Use type aliases to make `CStr(ing)` in libcore/liballoc unstable
Diffstat (limited to 'library/alloc/src/ffi/mod.rs')
| -rw-r--r-- | library/alloc/src/ffi/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/ffi/mod.rs b/library/alloc/src/ffi/mod.rs index 6b2e4af45b2..eed2851c153 100644 --- a/library/alloc/src/ffi/mod.rs +++ b/library/alloc/src/ffi/mod.rs @@ -83,9 +83,9 @@ #[cfg(bootstrap)] #[unstable(feature = "cstr_internals", issue = "none")] pub use self::c_str::CStrExt; -#[stable(feature = "cstring_from_vec_with_nul", since = "1.58.0")] +#[unstable(feature = "alloc_c_string", issue = "94079")] pub use self::c_str::FromVecWithNulError; -#[stable(feature = "rust1", since = "1.0.0")] +#[unstable(feature = "alloc_c_string", issue = "94079")] pub use self::c_str::{CString, IntoStringError, NulError}; mod c_str; |
