about summary refs log tree commit diff
path: root/src/libcore/panic.rs
diff options
context:
space:
mode:
authorRoss MacArthur <ross@macarthur.io>2019-12-21 13:16:18 +0200
committerRoss MacArthur <ross@macarthur.io>2019-12-21 13:16:18 +0200
commitf7256d28d1c2f8340ab5b99df4bdb15aa232f3f3 (patch)
tree96290353977ba531e62b2af5a42e90331016ba44 /src/libcore/panic.rs
parent9ff30a7810c586819a78188c173a7b74adbb9730 (diff)
downloadrust-f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3.tar.gz
rust-f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3.zip
Require issue = "none" over issue = "0" in unstable attributes
Diffstat (limited to 'src/libcore/panic.rs')
-rw-r--r--src/libcore/panic.rs8
1 files changed, 4 insertions, 4 deletions
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.