Skip to content

unnested_or_patterns trigger on master build even if feature is not enabled #5704

Closed
@matthiaskrgr

Description

@matthiaskrgr

When using the master toolchain and a clippy built by master, the unnested_or_patterns lint triggers on crates although the or_patterns feature is not enabled in these crates.

This does not happen if the nightly-clippy is used.

See #5378 (comment) for details

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions