File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ register_long_diagnostics! {
14
14
E0454 : r##"
15
15
A link name was given with an empty name. Erroneous code example:
16
16
17
- ```
17
+ ```compile_fail,E0454
18
18
#[link(name = "")] extern {} // error: #[link(name = "")] given with empty name
19
19
```
20
20
@@ -32,7 +32,7 @@ as frameworks are specific to that operating system.
32
32
33
33
Erroneous code example:
34
34
35
- ```compile_fail"
35
+ ```compile_fail,E0455
36
36
#[link(name = "FooCoreServices", kind = "framework")] extern {}
37
37
// OS used to compile is Linux for example
38
38
```
@@ -50,7 +50,7 @@ See more: https://doc.rust-lang.org/book/conditional-compilation.html
50
50
E0458 : r##"
51
51
An unknown "kind" was specified for a link attribute. Erroneous code example:
52
52
53
- ```
53
+ ```compile_fail,E0458
54
54
#[link(kind = "wonderful_unicorn")] extern {}
55
55
// error: unknown kind: `wonderful_unicorn`
56
56
```
@@ -64,7 +64,7 @@ Please specify a valid "kind" value, from one of the following:
64
64
E0459 : r##"
65
65
A link was used without a name parameter. Erroneous code example:
66
66
67
- ```
67
+ ```compile_fail,E0459
68
68
#[link(kind = "dylib")] extern {}
69
69
// error: #[link(...)] specified without `name = "foo"`
70
70
```
@@ -80,7 +80,7 @@ you want. Example:
80
80
E0463 : r##"
81
81
A plugin/crate was declared but cannot be found. Erroneous code example:
82
82
83
- ```
83
+ ```compile_fail,E0463
84
84
#![feature(plugin)]
85
85
#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`
86
86
extern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`
You can’t perform that action at this time.
0 commit comments