Include tracking issue in diagnostic

This commit is contained in:
Jacob Pratt 2022-03-14 22:01:06 -04:00
parent 83460d5e62
commit 08fbe3dafa
No known key found for this signature in database
GPG Key ID: B80E19E4662B5AA4
2 changed files with 2 additions and 3 deletions

View File

@ -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) {

View File

@ -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