Skip to content

#[link_args] was accidentally stabilized; were other attributes as well? #43106

Closed
@pnkfelix

Description

@pnkfelix

A comment in the tracking issue for #[link_args] points out that the attribute was accidentally stabilized (quite a long time ago).

I think it will be easy to fix the particular case of #[link_args]; the infrastructure here is pretty nice. But it does raise the question: Were other attributes accidentally stabilized at the same time?

This issue has two goals: 1. correct the #[link_args] feature gate, and 2. double-check whether other attributes in the BUILTIN_ATTRIBUTES array need similar treatment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesArea: Attributes (`#[…]`, `#![…]`)A-stabilityArea: `#[stable]`, `#[unstable]` etc.C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions