File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ register_long_diagnostics! {
1414E0454 : r##"
1515A link name was given with an empty name. Erroneous code example:
1616
17- ```ignore (cannot-test-this-because-??? )
17+ ```ignore (cannot-test-this-because-rustdoc-stops-compile-fail-before-trans )
1818#[link(name = "")] extern {} // error: #[link(name = "")] given with empty name
1919```
2020
@@ -51,7 +51,7 @@ https://doc.rust-lang.org/book/first-edition/conditional-compilation.html
5151E0458 : r##"
5252An unknown "kind" was specified for a link attribute. Erroneous code example:
5353
54- ```ignore (cannot-test-this-because-??? )
54+ ```ignore (cannot-test-this-because-rustdoc-stops-compile-fail-before-trans )
5555#[link(kind = "wonderful_unicorn")] extern {}
5656// error: unknown kind: `wonderful_unicorn`
5757```
@@ -67,7 +67,7 @@ Please specify a valid "kind" value, from one of the following:
6767E0459 : r##"
6868A link was used without a name parameter. Erroneous code example:
6969
70- ```ignore (cannot-test-this-because-??? )
70+ ```ignore (cannot-test-this-because-rustdoc-stops-compile-fail-before-trans )
7171#[link(kind = "dylib")] extern {}
7272// error: #[link(...)] specified without `name = "foo"`
7373```
You can’t perform that action at this time.
0 commit comments