about summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuietMisdreavus <grey@quietmisdreavus.net>2017-10-04 22:18:52 -0500
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-11-17 22:50:15 +0100
commitbe68d34a7eac8d653f453d7174f30e8ac1f73e62 (patch)
tree90065f155621630e7d0c7bf03d146dbc79adbb8a
parent831fd783416d9f87ec9308ed56e891d0b1ffdbcd (diff)
downloadrust-be68d34a7eac8d653f453d7174f30e8ac1f73e62.tar.gz
rust-be68d34a7eac8d653f453d7174f30e8ac1f73e62.zip
update links and tracking issue for doc_spotlight
-rw-r--r--src/doc/unstable-book/src/language-features/doc-spotlight.md7
-rw-r--r--src/libsyntax/feature_gate.rs2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/doc/unstable-book/src/language-features/doc-spotlight.md b/src/doc/unstable-book/src/language-features/doc-spotlight.md
index 8aca01bb638..8117755fef1 100644
--- a/src/doc/unstable-book/src/language-features/doc-spotlight.md
+++ b/src/doc/unstable-book/src/language-features/doc-spotlight.md
@@ -1,6 +1,6 @@
 # `doc_spotlight`
 
-The tracking issue for this feature is: [TODO]
+The tracking issue for this feature is: [#45040]
 
 The `doc_spotlight` feature allows the use of the `spotlight` parameter to the `#[doc]` attribute,
 to "spotlight" a specific trait on the return values of functions. Adding a `#[doc(spotlight)]`
@@ -24,4 +24,7 @@ impl MyTrait for MyStruct {}
 pub fn my_fn() -> MyStruct { MyStruct }
 ```
 
-This feature was originally implemented in PR [TODO].
+This feature was originally implemented in PR [#45039].
+
+[#45040]: https://github.com/rust-lang/rust/issues/45040
+[#45039]: https://github.com/rust-lang/rust/pull/45039
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 9bfb3bdbdb4..df75e033ab4 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -382,7 +382,7 @@ declare_features! (
     // #[doc(masked)]
     (active, doc_masked, "1.21.0", Some(44027)),
     // #[doc(spotlight)]
-    (active, doc_spotlight, "1.22.0", None),
+    (active, doc_spotlight, "1.22.0", Some(45040)),
 
     // allow `#[must_use]` on functions and comparison operators (RFC 1940)
     (active, fn_must_use, "1.21.0", Some(43302)),