about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 8579addfcbd..f77593ed02a 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -1481,9 +1481,12 @@ fn leveled_feature_err<'a>(
     };
 
     match issue {
-        None | Some(0) => {}
+        None | Some(0) => {}  // We still accept `0` as a stand-in for backwards compatibility
         Some(n) => {
-            err.note(&format!("for more information, see tracking issue #{}", n));
+            err.note(&format!(
+                "for more information, see https://github.com/rust-lang/rust/issues/{}",
+                n,
+            ));
         }
     }