diff options
| author | Ross MacArthur <ross@macarthur.io> | 2019-12-21 13:16:18 +0200 |
|---|---|---|
| committer | Ross MacArthur <ross@macarthur.io> | 2019-12-21 13:16:18 +0200 |
| commit | f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3 (patch) | |
| tree | 96290353977ba531e62b2af5a42e90331016ba44 /src/libstd/sys | |
| parent | 9ff30a7810c586819a78188c173a7b74adbb9730 (diff) | |
| download | rust-f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3.tar.gz rust-f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3.zip | |
Require issue = "none" over issue = "0" in unstable attributes
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/hermit/fast_thread_local.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/hermit/fd.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/mod.rs | 4 | ||||
| -rw-r--r-- | src/libstd/sys/unix/fast_thread_local.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/unix/fd.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/vxworks/fast_thread_local.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/vxworks/fd.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/wasi/ext/fs.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/wasi/ext/io.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/wasm/fast_thread_local.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/windows/c.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/windows/ext/fs.rs | 8 | ||||
| -rw-r--r-- | src/libstd/sys/windows/fast_thread_local.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/windows/handle.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/windows/net.rs | 4 | ||||
| -rw-r--r-- | src/libstd/sys/windows/process.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/windows/stdio.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/windows/stdio_uwp.rs | 2 |
18 files changed, 23 insertions, 23 deletions
diff --git a/src/libstd/sys/hermit/fast_thread_local.rs b/src/libstd/sys/hermit/fast_thread_local.rs index 05464787a05..1108e2545bd 100644 --- a/src/libstd/sys/hermit/fast_thread_local.rs +++ b/src/libstd/sys/hermit/fast_thread_local.rs @@ -1,4 +1,4 @@ #![cfg(target_thread_local)] -#![unstable(feature = "thread_local_internals", issue = "0")] +#![unstable(feature = "thread_local_internals", issue = "none")] pub use crate::sys_common::thread_local::register_dtor_fallback as register_dtor; diff --git a/src/libstd/sys/hermit/fd.rs b/src/libstd/sys/hermit/fd.rs index f2f61fdfb8c..97d1a38b41a 100644 --- a/src/libstd/sys/hermit/fd.rs +++ b/src/libstd/sys/hermit/fd.rs @@ -1,4 +1,4 @@ -#![unstable(reason = "not public", issue = "0", feature = "fd")] +#![unstable(reason = "not public", issue = "none", feature = "fd")] use crate::io::{self, ErrorKind, Read}; use crate::mem; diff --git a/src/libstd/sys/mod.rs b/src/libstd/sys/mod.rs index 9eeab34643f..875ff1af920 100644 --- a/src/libstd/sys/mod.rs +++ b/src/libstd/sys/mod.rs @@ -69,7 +69,7 @@ cfg_if::cfg_if! { // On CloudABI and wasm right now the module below doesn't compile // (missing things in `libc` which is empty) so just omit everything // with an empty module - #[unstable(issue = "0", feature = "std_internals")] + #[unstable(issue = "none", feature = "std_internals")] #[allow(missing_docs)] pub mod unix_ext {} } else { @@ -92,7 +92,7 @@ cfg_if::cfg_if! { all(target_vendor = "fortanix", target_env = "sgx")))] { // On CloudABI and wasm right now the shim below doesn't compile, so // just omit it - #[unstable(issue = "0", feature = "std_internals")] + #[unstable(issue = "none", feature = "std_internals")] #[allow(missing_docs)] pub mod windows_ext {} } else { diff --git a/src/libstd/sys/unix/fast_thread_local.rs b/src/libstd/sys/unix/fast_thread_local.rs index 0861432f8a9..8730b4de8be 100644 --- a/src/libstd/sys/unix/fast_thread_local.rs +++ b/src/libstd/sys/unix/fast_thread_local.rs @@ -1,5 +1,5 @@ #![cfg(target_thread_local)] -#![unstable(feature = "thread_local_internals", issue = "0")] +#![unstable(feature = "thread_local_internals", issue = "none")] // Since what appears to be glibc 2.18 this symbol has been shipped which // GCC and clang both use to invoke destructors in thread_local globals, so diff --git a/src/libstd/sys/unix/fd.rs b/src/libstd/sys/unix/fd.rs index 53b50763fbf..8a99836912a 100644 --- a/src/libstd/sys/unix/fd.rs +++ b/src/libstd/sys/unix/fd.rs @@ -1,4 +1,4 @@ -#![unstable(reason = "not public", issue = "0", feature = "fd")] +#![unstable(reason = "not public", issue = "none", feature = "fd")] use crate::cmp; use crate::io::{self, Initializer, IoSlice, IoSliceMut, Read}; diff --git a/src/libstd/sys/vxworks/fast_thread_local.rs b/src/libstd/sys/vxworks/fast_thread_local.rs index 387ebd0520a..098668cf521 100644 --- a/src/libstd/sys/vxworks/fast_thread_local.rs +++ b/src/libstd/sys/vxworks/fast_thread_local.rs @@ -1,5 +1,5 @@ #![cfg(target_thread_local)] -#![unstable(feature = "thread_local_internals", issue = "0")] +#![unstable(feature = "thread_local_internals", issue = "none")] pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) { use crate::sys_common::thread_local::register_dtor_fallback; diff --git a/src/libstd/sys/vxworks/fd.rs b/src/libstd/sys/vxworks/fd.rs index 9b649aa7ef4..65c67dabc1a 100644 --- a/src/libstd/sys/vxworks/fd.rs +++ b/src/libstd/sys/vxworks/fd.rs @@ -1,4 +1,4 @@ -#![unstable(reason = "not public", issue = "0", feature = "fd")] +#![unstable(reason = "not public", issue = "none", feature = "fd")] use crate::cmp; use crate::io::{self, Initializer, IoSlice, IoSliceMut, Read}; diff --git a/src/libstd/sys/wasi/ext/fs.rs b/src/libstd/sys/wasi/ext/fs.rs index 92d0e60c07e..6696efa8871 100644 --- a/src/libstd/sys/wasi/ext/fs.rs +++ b/src/libstd/sys/wasi/ext/fs.rs @@ -1,6 +1,6 @@ //! WASI-specific extensions to primitives in the `std::fs` module. -#![unstable(feature = "wasi_ext", issue = "0")] +#![unstable(feature = "wasi_ext", issue = "none")] use crate::fs::{self, File, Metadata, OpenOptions}; use crate::io::{self, IoSlice, IoSliceMut}; diff --git a/src/libstd/sys/wasi/ext/io.rs b/src/libstd/sys/wasi/ext/io.rs index f678b71a2b9..be3c2d97a24 100644 --- a/src/libstd/sys/wasi/ext/io.rs +++ b/src/libstd/sys/wasi/ext/io.rs @@ -1,6 +1,6 @@ //! WASI-specific extensions to general I/O primitives -#![unstable(feature = "wasi_ext", issue = "0")] +#![unstable(feature = "wasi_ext", issue = "none")] use crate::fs; use crate::io; diff --git a/src/libstd/sys/wasm/fast_thread_local.rs b/src/libstd/sys/wasm/fast_thread_local.rs index 3b0993fdb58..9bdc26ae7d6 100644 --- a/src/libstd/sys/wasm/fast_thread_local.rs +++ b/src/libstd/sys/wasm/fast_thread_local.rs @@ -1,4 +1,4 @@ -#![unstable(feature = "thread_local_internals", issue = "0")] +#![unstable(feature = "thread_local_internals", issue = "none")] pub unsafe fn register_dtor(_t: *mut u8, _dtor: unsafe extern fn(*mut u8)) { // FIXME: right now there is no concept of "thread exit", but this is likely diff --git a/src/libstd/sys/windows/c.rs b/src/libstd/sys/windows/c.rs index b1f9d9766f7..4cdac89a864 100644 --- a/src/libstd/sys/windows/c.rs +++ b/src/libstd/sys/windows/c.rs @@ -2,7 +2,7 @@ #![allow(nonstandard_style)] #![cfg_attr(test, allow(dead_code))] -#![unstable(issue = "0", feature = "windows_c")] +#![unstable(issue = "none", feature = "windows_c")] use crate::os::raw::{c_int, c_uint, c_ulong, c_long, c_longlong, c_ushort, c_char}; use crate::ptr; diff --git a/src/libstd/sys/windows/ext/fs.rs b/src/libstd/sys/windows/ext/fs.rs index 7eaff226a76..0462f889a8e 100644 --- a/src/libstd/sys/windows/ext/fs.rs +++ b/src/libstd/sys/windows/ext/fs.rs @@ -504,17 +504,17 @@ impl MetadataExt for Metadata { /// On Windows, a symbolic link knows whether it is a file or directory. /// /// [`FileType`]: ../../../../std/fs/struct.FileType.html -#[unstable(feature = "windows_file_type_ext", issue = "0")] +#[unstable(feature = "windows_file_type_ext", issue = "none")] pub trait FileTypeExt { /// Returns `true` if this file type is a symbolic link that is also a directory. - #[unstable(feature = "windows_file_type_ext", issue = "0")] + #[unstable(feature = "windows_file_type_ext", issue = "none")] fn is_symlink_dir(&self) -> bool; /// Returns `true` if this file type is a symbolic link that is also a file. - #[unstable(feature = "windows_file_type_ext", issue = "0")] + #[unstable(feature = "windows_file_type_ext", issue = "none")] fn is_symlink_file(&self) -> bool; } -#[unstable(feature = "windows_file_type_ext", issue = "0")] +#[unstable(feature = "windows_file_type_ext", issue = "none")] impl FileTypeExt for fs::FileType { fn is_symlink_dir(&self) -> bool { self.as_inner().is_symlink_dir() diff --git a/src/libstd/sys/windows/fast_thread_local.rs b/src/libstd/sys/windows/fast_thread_local.rs index 31d0bd1e72e..191fa07f32a 100644 --- a/src/libstd/sys/windows/fast_thread_local.rs +++ b/src/libstd/sys/windows/fast_thread_local.rs @@ -1,4 +1,4 @@ -#![unstable(feature = "thread_local_internals", issue = "0")] +#![unstable(feature = "thread_local_internals", issue = "none")] #![cfg(target_thread_local)] pub use crate::sys_common::thread_local::register_dtor_fallback as register_dtor; diff --git a/src/libstd/sys/windows/handle.rs b/src/libstd/sys/windows/handle.rs index ebaa0783d60..fd0c2350cb3 100644 --- a/src/libstd/sys/windows/handle.rs +++ b/src/libstd/sys/windows/handle.rs @@ -1,4 +1,4 @@ -#![unstable(issue = "0", feature = "windows_handle")] +#![unstable(issue = "none", feature = "windows_handle")] use crate::cmp; use crate::io::{self, ErrorKind, IoSlice, IoSliceMut, Read}; diff --git a/src/libstd/sys/windows/net.rs b/src/libstd/sys/windows/net.rs index 2f2f285edc1..53e08d50004 100644 --- a/src/libstd/sys/windows/net.rs +++ b/src/libstd/sys/windows/net.rs @@ -1,4 +1,4 @@ -#![unstable(issue = "0", feature = "windows_net")] +#![unstable(issue = "none", feature = "windows_net")] use crate::cmp; use crate::io::{self, Read, IoSlice, IoSliceMut}; @@ -395,7 +395,7 @@ impl Socket { } } -#[unstable(reason = "not public", issue = "0", feature = "fd_read")] +#[unstable(reason = "not public", issue = "none", feature = "fd_read")] impl<'a> Read for &'a Socket { fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> { (**self).read(buf) diff --git a/src/libstd/sys/windows/process.rs b/src/libstd/sys/windows/process.rs index 096b7bea8a5..060997be97d 100644 --- a/src/libstd/sys/windows/process.rs +++ b/src/libstd/sys/windows/process.rs @@ -1,4 +1,4 @@ -#![unstable(feature = "process_internals", issue = "0")] +#![unstable(feature = "process_internals", issue = "none")] use crate::collections::BTreeMap; use crate::env::split_paths; diff --git a/src/libstd/sys/windows/stdio.rs b/src/libstd/sys/windows/stdio.rs index f322c2b1d96..c84896296ec 100644 --- a/src/libstd/sys/windows/stdio.rs +++ b/src/libstd/sys/windows/stdio.rs @@ -1,4 +1,4 @@ -#![unstable(issue = "0", feature = "windows_stdio")] +#![unstable(issue = "none", feature = "windows_stdio")] use crate::char::decode_utf16; use crate::cmp; diff --git a/src/libstd/sys/windows/stdio_uwp.rs b/src/libstd/sys/windows/stdio_uwp.rs index 0f2178f7353..5bdabf6d4b7 100644 --- a/src/libstd/sys/windows/stdio_uwp.rs +++ b/src/libstd/sys/windows/stdio_uwp.rs @@ -1,4 +1,4 @@ -#![unstable(issue = "0", feature = "windows_stdio")] +#![unstable(issue = "none", feature = "windows_stdio")] use crate::io; use crate::mem::ManuallyDrop; |
