From f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3 Mon Sep 17 00:00:00 2001 From: Ross MacArthur Date: Sat, 21 Dec 2019 13:16:18 +0200 Subject: Require issue = "none" over issue = "0" in unstable attributes --- src/libcore/panic.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libcore/panic.rs') diff --git a/src/libcore/panic.rs b/src/libcore/panic.rs index c9a1c4b0049..a90b025c093 100644 --- a/src/libcore/panic.rs +++ b/src/libcore/panic.rs @@ -40,7 +40,7 @@ impl<'a> PanicInfo<'a> { #[unstable(feature = "panic_internals", reason = "internal details of the implementation of the `panic!` \ and related macros", - issue = "0")] + issue = "none")] #[doc(hidden)] #[inline] pub fn internal_constructor( @@ -58,7 +58,7 @@ impl<'a> PanicInfo<'a> { #[unstable(feature = "panic_internals", reason = "internal details of the implementation of the `panic!` \ and related macros", - issue = "0")] + issue = "none")] #[doc(hidden)] #[inline] pub fn set_payload(&mut self, info: &'a (dyn Any + Send)) { @@ -235,7 +235,7 @@ impl<'a> Location<'a> { #![unstable(feature = "panic_internals", reason = "internal details of the implementation of the `panic!` \ and related macros", - issue = "0")] + issue = "none")] #[doc(hidden)] pub const fn internal_constructor(file: &'a str, line: u32, col: u32) -> Self { Location { file, line, col } @@ -318,7 +318,7 @@ impl fmt::Display for Location<'_> { /// An internal trait used by libstd to pass data from libstd to `panic_unwind` /// and other panic runtimes. Not intended to be stabilized any time soon, do /// not use. -#[unstable(feature = "std_internals", issue = "0")] +#[unstable(feature = "std_internals", issue = "none")] #[doc(hidden)] pub unsafe trait BoxMeUp { /// Take full ownership of the contents. -- cgit 1.4.1-3-g733a5