From 48ab422be4cbc3ab4eb5d3456c2b92ccfe9d7f8d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 21 Apr 2018 22:33:11 +0200 Subject: [PATCH] Add tracking issue number for doc alias feature --- src/libsyntax/feature_gate.rs | 2 +- src/test/ui/feature-gate-doc_alias.stderr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 3f0a402c21331..5f051e2f19310 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -462,7 +462,7 @@ declare_features! ( (active, proc_macro_non_items, "1.27.0", None, None), // #[doc(alias = "...")] - (active, doc_alias, "1.27.0", None, None), + (active, doc_alias, "1.27.0", Some(50146), None), ); declare_features! ( diff --git a/src/test/ui/feature-gate-doc_alias.stderr b/src/test/ui/feature-gate-doc_alias.stderr index 693dc0a4000d5..a987e03c0aaf1 100644 --- a/src/test/ui/feature-gate-doc_alias.stderr +++ b/src/test/ui/feature-gate-doc_alias.stderr @@ -1,4 +1,4 @@ -error[E0658]: #[doc(alias = "...")] is experimental +error[E0658]: #[doc(alias = "...")] is experimental (see issue #50146) --> $DIR/feature-gate-doc_alias.rs:11:1 | LL | #[doc(alias = "foo")] //~ ERROR: #[doc(alias = "...")] is experimental