| error: the `link_args` attribute is experimental and not portable across platforms, it is recommended to use `#[link(name = "foo")] instead (see issue #29596) |
| --> $DIR/feature-gate-link_args.rs:22:1 |
| | |
| 22 | #[link_args = "-l expected_use_case"] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = help: add #![feature(link_args)] to the crate attributes to enable |
| |
| error: the `link_args` attribute is experimental and not portable across platforms, it is recommended to use `#[link(name = "foo")] instead (see issue #29596) |
| --> $DIR/feature-gate-link_args.rs:26:1 |
| | |
| 26 | #[link_args = "-l unexected_use_on_non_extern_item"] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = help: add #![feature(link_args)] to the crate attributes to enable |
| |
| error: the `link_args` attribute is experimental and not portable across platforms, it is recommended to use `#[link(name = "foo")] instead (see issue #29596) |
| --> $DIR/feature-gate-link_args.rs:19:1 |
| | |
| 19 | #![link_args = "-l unexpected_use_as_inner_attr_on_mod"] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = help: add #![feature(link_args)] to the crate attributes to enable |
| |
| error: aborting due to 3 previous errors |
| |