Skip to content

Deprecated attribute should be inherited #26040

@aturon

Description

@aturon

We've cycled through a few different inheritance strategies for stability attributes, but with the move to release channels we've lost inheritance for the deprecated attribute. This appears not to be an intentional choice, and there are strong ergonomic reasons to use inheritance here.

We should alter the lint's computation so that deprecation is inherited. Should be pretty easy to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions