Skip to content

Tidy doesn't check for unused extern crates #62036

Open
@Mark-Simulacrum

Description

@Mark-Simulacrum

Since 44a01b8, tidy no longer emits unused crate warnings -- i.e., Cargo.toml has a dependency but the associated library does not. Due to use of 2018 edition implicit imports, this is no longer an easy thing to do (any file within the crate can use the crate, and extern crate isn't required).

I'm thinking we can probably just remove this tidy lint for now in favor of something like #57274 in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions