about summary refs log tree commit diff
path: root/src/libstd/rt.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-22 02:40:04 +0100
committerGitHub <noreply@github.com>2019-12-22 02:40:04 +0100
commiteaeb1138c6e4956a416e161ffc03eaf7db832101 (patch)
tree38ba6a99e4e17147adca35c2543c1adf065a0ead /src/libstd/rt.rs
parent877dc9daa8eebee7a6e4dc5fc7df6770a086df59 (diff)
parent62714f8b170dadc381fd9883031d42ba2ee8ece9 (diff)
Rollup merge of #67480 - rossmacarthur:fix-41260-avoid-issue-0-part-2, r=Centril
Require issue = "none" over issue = "0" in unstable attributes

These changes make the use of `issue = "none"` required in unstable attributes throughout the compiler.

Notes:
- #66299 is now in beta so `issue = "none"` is accepted.
- The `tidy` tool now fails on `issue = "0"`.
- Tests that used `issue = "0"` were changed to use `issue = "none"`, except for _one_ that asserts `issue = "0"` can still be used.
- The compiler still allows `issue = "0"` because some submodules require it, this could be disallowed once these are updated.

Resolves #41260

r? @varkor
Diffstat (limited to 'src/libstd/rt.rs')
-rw-r--r--src/libstd/rt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt.rs b/src/libstd/rt.rs
index 1ed984509d2..2426b2dead7 100644
--- a/src/libstd/rt.rs
+++ b/src/libstd/rt.rs
@@ -10,7 +10,7 @@
     feature = "rt",
     reason = "this public module should not exist and is highly likely \
               to disappear",
-    issue = "0"
+    issue = "none"
 )]
 #![doc(hidden)]