]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_metadata/diagnostics.rs
rustc: Remove a number of mutable fields in cstore
[rust.git] / src / librustc_metadata / diagnostics.rs
index 1fa1a896dd6b65b48eca7335b0fb3034563567cf..8ff2acbac9d5fc45a90593952bd10fc3165ee428 100644 (file)
@@ -14,7 +14,7 @@
 E0454: r##"
 A link name was given with an empty name. Erroneous code example:
 
-```compile_fail,E0454
+```ignore (cannot-test-this-because-???)
 #[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:
 
-```compile_fail,E0458
+```ignore (cannot-test-this-because-???)
 #[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:
 
-```compile_fail,E0459
+```ignore (cannot-test-this-because-???)
 #[link(kind = "dylib")] extern {}
 // error: #[link(...)] specified without `name = "foo"`
 ```