Skip to content

Rustc should show an unused_attribute warning when #[inline] is used on trait methods without body #64775

Closed
@Boscop

Description

@Boscop

Re: #47475
rust-lang/rust-clippy#2367 (comment)

I think this should some day be caught by the unused_attribute lint from rustc

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.A-trait-systemArea: Trait systemC-enhancementCategory: An issue proposing an enhancement or a PR with one.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