From 001dd7e6a578e25ba4a82ed6291bb5989a484bab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20du=20Garreau?= Date: Fri, 6 Nov 2020 18:04:52 +0100 Subject: [PATCH] Add tracking issue --- library/std/src/io/cursor.rs | 6 +++--- library/std/src/io/util.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/std/src/io/cursor.rs b/library/std/src/io/cursor.rs index 43f5da0a9bb..bbee2cc9842 100644 --- a/library/std/src/io/cursor.rs +++ b/library/std/src/io/cursor.rs @@ -94,7 +94,7 @@ impl Cursor { /// # force_inference(&buff); /// ``` #[stable(feature = "rust1", since = "1.0.0")] - #[rustc_const_unstable(feature = "const_io_structs", issue = "none")] + #[rustc_const_unstable(feature = "const_io_structs", issue = "78812")] pub const fn new(inner: T) -> Cursor { Cursor { pos: 0, inner } } @@ -131,7 +131,7 @@ pub fn into_inner(self) -> T { /// let reference = buff.get_ref(); /// ``` #[stable(feature = "rust1", since = "1.0.0")] - #[rustc_const_unstable(feature = "const_io_structs", issue = "none")] + #[rustc_const_unstable(feature = "const_io_structs", issue = "78812")] pub const fn get_ref(&self) -> &T { &self.inner } @@ -177,7 +177,7 @@ pub fn get_mut(&mut self) -> &mut T { /// assert_eq!(buff.position(), 1); /// ``` #[stable(feature = "rust1", since = "1.0.0")] - #[rustc_const_unstable(feature = "const_io_structs", issue = "none")] + #[rustc_const_unstable(feature = "const_io_structs", issue = "78812")] pub const fn position(&self) -> u64 { self.pos } diff --git a/library/std/src/io/util.rs b/library/std/src/io/util.rs index 4aaf2070d3b..2b1f371129e 100644 --- a/library/std/src/io/util.rs +++ b/library/std/src/io/util.rs @@ -102,7 +102,7 @@ pub struct Empty { /// assert!(buffer.is_empty()); /// ``` #[stable(feature = "rust1", since = "1.0.0")] -#[rustc_const_unstable(feature = "const_io_structs", issue = "none")] +#[rustc_const_unstable(feature = "const_io_structs", issue = "78812")] pub const fn empty() -> Empty { Empty { _priv: () } } @@ -160,7 +160,7 @@ pub struct Repeat { /// assert_eq!(buffer, [0b101, 0b101, 0b101]); /// ``` #[stable(feature = "rust1", since = "1.0.0")] -#[rustc_const_unstable(feature = "const_io_structs", issue = "none")] +#[rustc_const_unstable(feature = "const_io_structs", issue = "78812")] pub const fn repeat(byte: u8) -> Repeat { Repeat { byte } } @@ -228,7 +228,7 @@ pub struct Sink { /// assert_eq!(num_bytes, 5); /// ``` #[stable(feature = "rust1", since = "1.0.0")] -#[rustc_const_unstable(feature = "const_io_structs", issue = "none")] +#[rustc_const_unstable(feature = "const_io_structs", issue = "78812")] pub const fn sink() -> Sink { Sink { _priv: () } } -- 2.44.0