rust/tests/ui/feature-gates/feature-gate-link-arg-attribute.rs
zetanumbers f7617c1cd4 Enable link-arg link kind inside of #[link] attribute
- Implement link-arg as an attribute
- Apply suggestions from review
  - Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
- Add unstable book entry
2023-11-30 08:26:13 -08:00

6 lines
113 B
Rust

#[link(kind = "link-arg", name = "foo")]
//~^ ERROR link kind `link-arg` is unstable
extern "C" {}
fn main() {}