Skip to content

Commit 08fbe3d

Browse files
committed
Include tracking issue in diagnostic
1 parent 83460d5 commit 08fbe3d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compiler/rustc_attr/src/builtin.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,7 @@ where
750750
if sess.is_nightly_build() {
751751
diag.help("add `#![feature(deprecated_suggestion)]` to the crate root");
752752
}
753-
// FIXME(jhpratt) change this to an actual tracking issue
754-
diag.note("see #XXX for more details").emit();
753+
diag.note("see #94785 for more details").emit();
755754
}
756755

757756
if !get(mi, &mut suggestion) {

src/test/ui/deprecation/feature-gate-deprecated_suggestion.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | #[deprecated(suggestion = "foo")]
55
| ^^^^^^^^^^^^^^^^^^
66
|
77
= help: add `#![feature(deprecated_suggestion)]` to the crate root
8-
= note: see #XXX for more details
8+
= note: see #94785 for more details
99

1010
error: aborting due to previous error
1111

0 commit comments

Comments
 (0)