| error[E0805]: malformed `link` attribute input | |
| --> $DIR/issue-43926.rs:1:1 | |
| | | |
| LL | #[link(name = "foo", cfg())] | |
| | ^^^^^^^^^^^^^^^^^^^^^-----^^ | |
| | | | |
| | expected a single argument here | |
| | | |
| = note: for more information, visit <https://doc.rust-lang.org/reference/items/external-blocks.html#the-link-attribute> | |
| error: aborting due to 1 previous error | |
| For more information about this error, try `rustc --explain E0805`. |