Skip to content

Lint usages of tcx.hir.body without accompaning tcx.body_tables #1976

Open
@oli-obk

Description

@oli-obk

If we don't do this consistently we keep having hidden panics all over clippy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingL-correctnessLint: Belongs in the correctness lint groupT-middleType: Probably requires verifiying types

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions