rustc: Handle #[link(name = "")] error
This commit is contained in:
parent
e86cdaf23d
commit
2afa97a346
2 changed files with 6 additions and 1 deletions
|
|
@ -9,6 +9,7 @@
|
|||
// except according to those terms.
|
||||
|
||||
#[link()] //~ ERROR: specified without `name =
|
||||
#[link(name = "")] //~ ERROR: with empty name
|
||||
#[link(name = "foo")]
|
||||
#[link(name = "foo", kind = "bar")] //~ ERROR: unknown kind
|
||||
extern {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue