summary refs log tree commit diff
path: root/src/test/ui/stability-attribute
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-04-10 16:40:12 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-04-10 18:10:30 -0700
commit3ab97062cfddb6e5e5e32352dd15ca2243aba3ff (patch)
tree5b09387f24047ed0a7188be9e3858bdc8f12f2c6 /src/test/ui/stability-attribute
parent96d700f1b7bc9c53fa0d11567adb1ed2c1c27e79 (diff)
downloadrust-3ab97062cfddb6e5e5e32352dd15ca2243aba3ff.tar.gz
rust-3ab97062cfddb6e5e5e32352dd15ca2243aba3ff.zip
Tweak unstable diagnostic output
Diffstat (limited to 'src/test/ui/stability-attribute')
-rw-r--r--src/test/ui/stability-attribute/stability-attribute-issue.rs4
-rw-r--r--src/test/ui/stability-attribute/stability-attribute-issue.stderr6
2 files changed, 6 insertions, 4 deletions
diff --git a/src/test/ui/stability-attribute/stability-attribute-issue.rs b/src/test/ui/stability-attribute/stability-attribute-issue.rs
index fc4a7dab1af..ca4d7cc6a6c 100644
--- a/src/test/ui/stability-attribute/stability-attribute-issue.rs
+++ b/src/test/ui/stability-attribute/stability-attribute-issue.rs
@@ -8,7 +8,7 @@ use stability_attribute_issue::*;
 
 fn main() {
     unstable();
-    //~^ ERROR use of unstable library feature 'unstable_test_feature' (see issue #1)
+    //~^ ERROR use of unstable library feature 'unstable_test_feature'
     unstable_msg();
-    //~^ ERROR use of unstable library feature 'unstable_test_feature': message (see issue #2)
+    //~^ ERROR use of unstable library feature 'unstable_test_feature': message
 }
diff --git a/src/test/ui/stability-attribute/stability-attribute-issue.stderr b/src/test/ui/stability-attribute/stability-attribute-issue.stderr
index 94fdc0db3d9..d7785c48415 100644
--- a/src/test/ui/stability-attribute/stability-attribute-issue.stderr
+++ b/src/test/ui/stability-attribute/stability-attribute-issue.stderr
@@ -1,17 +1,19 @@
-error[E0658]: use of unstable library feature 'unstable_test_feature' (see issue #1)
+error[E0658]: use of unstable library feature 'unstable_test_feature'
   --> $DIR/stability-attribute-issue.rs:10:5
    |
 LL |     unstable();
    |     ^^^^^^^^
    |
+   = note: for more information, see tracking issue #1
    = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
 
-error[E0658]: use of unstable library feature 'unstable_test_feature': message (see issue #2)
+error[E0658]: use of unstable library feature 'unstable_test_feature': message
   --> $DIR/stability-attribute-issue.rs:12:5
    |
 LL |     unstable_msg();
    |     ^^^^^^^^^^^^
    |
+   = note: for more information, see tracking issue #2
    = help: add #![feature(unstable_test_feature)] to the crate attributes to enable
 
 error: aborting due to 2 previous errors