Update block codes' flags

This commit is contained in:
Guillaume Gomez
2016-08-19 16:44:29 +02:00
parent 413ada3040
commit 2c190ad0d2
+5 -5
View File
@@ -14,7 +14,7 @@
E0454: r##"
A link name was given with an empty name. Erroneous code example:
```
```compile_fail,E0454
#[link(name = "")] extern {} // error: #[link(name = "")] given with empty name
```
@@ -32,7 +32,7 @@
Erroneous code example:
```compile_fail"
```compile_fail,E0455
#[link(name = "FooCoreServices", kind = "framework")] extern {}
// OS used to compile is Linux for example
```
@@ -50,7 +50,7 @@
E0458: r##"
An unknown "kind" was specified for a link attribute. Erroneous code example:
```
```compile_fail,E0458
#[link(kind = "wonderful_unicorn")] extern {}
// error: unknown kind: `wonderful_unicorn`
```
@@ -64,7 +64,7 @@
E0459: r##"
A link was used without a name parameter. Erroneous code example:
```
```compile_fail,E0459
#[link(kind = "dylib")] extern {}
// error: #[link(...)] specified without `name = "foo"`
```
@@ -80,7 +80,7 @@
E0463: r##"
A plugin/crate was declared but cannot be found. Erroneous code example:
```
```compile_fail,E0463
#![feature(plugin)]
#![plugin(cookie_monster)] // error: can't find crate for `cookie_monster`
extern crate cake_is_a_lie; // error: can't find crate for `cake_is_a_lie`