]> git.lizzy.rs Git - rust.git/commitdiff
Clarify failure condition on tests
authorAlex Crichton <alex@alexcrichton.com>
Tue, 5 Sep 2017 18:55:01 +0000 (11:55 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 5 Sep 2017 18:55:01 +0000 (11:55 -0700)
src/librustc_metadata/diagnostics.rs

index 8ff2acbac9d5fc45a90593952bd10fc3165ee428..0a1662dd42d909eae0c8147e7795880c26aae5b5 100644 (file)
@@ -14,7 +14,7 @@
 E0454: r##"
 A link name was given with an empty name. Erroneous code example:
 
-```ignore (cannot-test-this-because-???)
+```ignore (cannot-test-this-because-rustdoc-stops-compile-fail-before-trans)
 #[link(name = "")] extern {} // error: #[link(name = "")] given with empty name
 ```
 
@@ -51,7 +51,7 @@
 E0458: r##"
 An unknown "kind" was specified for a link attribute. Erroneous code example:
 
-```ignore (cannot-test-this-because-???)
+```ignore (cannot-test-this-because-rustdoc-stops-compile-fail-before-trans)
 #[link(kind = "wonderful_unicorn")] extern {}
 // error: unknown kind: `wonderful_unicorn`
 ```
@@ -67,7 +67,7 @@
 E0459: r##"
 A link was used without a name parameter. Erroneous code example:
 
-```ignore (cannot-test-this-because-???)
+```ignore (cannot-test-this-because-rustdoc-stops-compile-fail-before-trans)
 #[link(kind = "dylib")] extern {}
 // error: #[link(...)] specified without `name = "foo"`
 ```