Skip to content

emitting errors & diagnostics: example lint appears to be outdated #712

Closed
@matthiaskrgr

Description

@matthiaskrgr

I was looking https://rustc-dev-guide.rust-lang.org/diagnostics.html?highlight=LateContext#declaring-a-lint to find out how lints work and it seems the example is outdated, I could not find any references to ExprWhile in the rustc compiler code for example.

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