about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2022-03-14 22:01:06 -0400
committerJacob Pratt <jacob@jhpratt.dev>2022-03-15 19:38:57 -0400
commit08fbe3dafa24429d17009bd5ee475e10a53be9b6 (patch)
tree6d0bcb9c2dc771389527ce8e32d4b9a5ac9f4a84
parent83460d5e624e9dff72ea8c8f6e79c10af10a3aa1 (diff)
downloadrust-08fbe3dafa24429d17009bd5ee475e10a53be9b6.tar.gz
rust-08fbe3dafa24429d17009bd5ee475e10a53be9b6.zip
Include tracking issue in diagnostic
-rw-r--r--compiler/rustc_attr/src/builtin.rs3
-rw-r--r--src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr2
2 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_attr/src/builtin.rs b/compiler/rustc_attr/src/builtin.rs
index 613320087d2..ffad7dcf557 100644
--- a/compiler/rustc_attr/src/builtin.rs
+++ b/compiler/rustc_attr/src/builtin.rs
@@ -750,8 +750,7 @@ where
                                     if sess.is_nightly_build() {
                                         diag.help("add `#![feature(deprecated_suggestion)]` to the crate root");
                                     }
-                                    // FIXME(jhpratt) change this to an actual tracking issue
-                                    diag.note("see #XXX for more details").emit();
+                                    diag.note("see #94785 for more details").emit();
                                 }
 
                                 if !get(mi, &mut suggestion) {
diff --git a/src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr b/src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr
index 3b995fed75c..438ce3349d2 100644
--- a/src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr
+++ b/src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr
@@ -5,7 +5,7 @@ LL | #[deprecated(suggestion = "foo")]
    |              ^^^^^^^^^^^^^^^^^^
    |
    = help: add `#![feature(deprecated_suggestion)]` to the crate root
-   = note: see #XXX for more details
+   = note: see #94785 for more details
 
 error: aborting due to previous error