Skip to content

Should warn for enabling the same feature twice #53032

Closed
@scottmcm

Description

@scottmcm

I just noticed that rustc_mir is enabling in_band_lifetimes twice:

#![feature(in_band_lifetimes)]

#![feature(in_band_lifetimes)]

Would be good to have a warning to help people notice this kind of superfluous code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions