Skip to content

Commit 14472df

Browse files
committed
Fix invalid stability attribute features in standard library
1 parent 43efdf9 commit 14472df

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

library/core/src/ffi/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//! match those defined by C, so that code that interacts with C will
77
//! refer to the correct types.
88
9-
#![stable(feature = "", since = "1.30.0")]
9+
#![stable(feature = "core_ffi", since = "1.30.0")]
1010
#![allow(non_camel_case_types)]
1111

1212
use crate::fmt;

library/std/src/io/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1140,10 +1140,10 @@ pub fn read_to_string<R: Read>(mut reader: R) -> Result<String> {
11401140
#[repr(transparent)]
11411141
pub struct IoSliceMut<'a>(sys::io::IoSliceMut<'a>);
11421142

1143-
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
1143+
#[stable(feature = "iovec_send_sync", since = "1.44.0")]
11441144
unsafe impl<'a> Send for IoSliceMut<'a> {}
11451145

1146-
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
1146+
#[stable(feature = "iovec_send_sync", since = "1.44.0")]
11471147
unsafe impl<'a> Sync for IoSliceMut<'a> {}
11481148

11491149
#[stable(feature = "iovec", since = "1.36.0")]
@@ -1283,10 +1283,10 @@ impl<'a> DerefMut for IoSliceMut<'a> {
12831283
#[repr(transparent)]
12841284
pub struct IoSlice<'a>(sys::io::IoSlice<'a>);
12851285

1286-
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
1286+
#[stable(feature = "iovec_send_sync", since = "1.44.0")]
12871287
unsafe impl<'a> Send for IoSlice<'a> {}
12881288

1289-
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
1289+
#[stable(feature = "iovec_send_sync", since = "1.44.0")]
12901290
unsafe impl<'a> Sync for IoSlice<'a> {}
12911291

12921292
#[stable(feature = "iovec", since = "1.36.0")]

library/std/src/process.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ impl From<io::Stderr> for Stdio {
15941594
pub struct ExitStatus(imp::ExitStatus);
15951595

15961596
/// The default value is one which indicates successful completion.
1597-
#[stable(feature = "process-exitcode-default", since = "1.73.0")]
1597+
#[stable(feature = "process_exitstatus_default", since = "1.73.0")]
15981598
impl Default for ExitStatus {
15991599
fn default() -> Self {
16001600
// Ideally this would be done by ExitCode::default().into() but that is complicated.

0 commit comments

Comments
 (0)