Skip to content

lint/tidy check imports of rustc_type_ir and rustc_middle #138449

Open
@lcnr

Description

@lcnr

rustc_middle reexports all of rustc_type_ir and should be preferred in case it is available. We should lint if a crate depends on both rustc_middle and rustc_type_ir and rewrite all existing uses of rustc_type_ir in such crates to use rustc_middle::ty instead.

cc @compiler-errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-help-wantedCall for participation: Help is requested to fix this issue.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